CVE-2021-47147

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

State
Published
Severity
6.2 Medium
Published
Mar 25, 2024
Updated
May 11, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a7e1abad13f3f0366ee625831fecda2b603cdc17 to before 0e38e702f1152479e6afac34f151dbfd99417f99Affected
  • a7e1abad13f3f0366ee625831fecda2b603cdc17 to before 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.12.9 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.