← CVE Intelligence

CVE-2021-47147

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected a7e1abad13f3f0366ee625831fecda2b603cdc17 before 0e38e702f1152479e6afac34f151dbfd99417f99; affected a7e1abad13f3f0366ee625831fecda2b603cdc17 before 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4
Linux / Linuxaffected 5.11; unaffected 0 before 5.11; unaffected 5.12.9 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.