CVE-2021-47147Published Mar 25, 2024 · Mar 25Updated Jun 17
ptp: ocp: Fix a resource leak in an error handling path
Linux
Medium6.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ptp ocp component can leak a mapped PCI resource if an error occurs after pci_ioremap_bar() succeeds. The input does not describe an attacker-triggered path or specify access or interaction requirements.
Engineers running the Linux kernel with the ptp ocp component should check their versions; affected versions are not specified.