CVE-2021-47147

published 25 Mar 2024 · updated 11 May 2026

ptp: ocp: Fix a resource leak in an error handling path

6.2MediumCVSS 6.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0e38e702f1152479e6afac34f151dbfd99417f99 and Kernel 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4.

In the Linux kernel, the following vulnerability has been resolved: ptp: ocp: Fix a resource leak in an error handling path If an error occurs after a successful 'pci_ioremap_bar()' call, it must be undone by a corresponding 'pci_iounmap()' call, as already done in the remove function.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=a7e1abad13f3f0366ee625831fecda2b603cdc17 <0e38e702f1152479e6afac34f151dbfd99417f99, >=a7e1abad13f3f0366ee625831fecda2b603cdc17 <9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e40e38e702f1152479e6afac34f151dbfd99417f99, 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47147 severity on Zeptric[![CVE-2021-47147](https://zeptric.io/badge/cve/CVE-2021-47147.svg)](https://zeptric.io/cve/CVE-2021-47147)