What’s Vulnerable › Vulnerabilities
CVE-2021-47147: ptp: ocp: Fix a resource leak in an error handling path
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-06-17
- Weakness: CWE-401
Description
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 products
- Linux kernel: from 5.11 before 5.12.9; 5.13-rc1, 5.13-rc2, 5.13-rc3 — fixed in 5.12.9
How to fix
Upgrade to a fixed version: Linux kernel 5.12.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0e38e702f1152479e6afac34f151dbfd99417f99
- https://git.kernel.org/stable/c/9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4
- https://git.kernel.org/stable/c/0e38e702f1152479e6afac34f151dbfd99417f99
- https://git.kernel.org/stable/c/9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4
Get alerted when CVE-2021-47147 or the next vulnerability affects your stack