CVE-2023-54307
Unknown Unknown - Not Provided
Memory Leak in Linux Kernel ptp_qoriq Driver Probe Function

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: ptp_qoriq: fix memory leak in probe() Smatch complains that: drivers/ptp/ptp_qoriq.c ptp_qoriq_probe() warn: 'base' from ioremap() not released. Fix this by revising the parameter from 'ptp_qoriq->base' to 'base'. This is only a bug if ptp_qoriq_init() returns on the first -ENODEV error path. For other error paths ptp_qoriq->base and base are the same. And this change makes the code more readable.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-07
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a memory leak in the Linux kernel's ptp_qoriq driver during its probe() function. Specifically, the issue arises because the memory allocated by ioremap() is not properly released when ptp_qoriq_init() returns early with an -ENODEV error. The fix involves changing the code to correctly release the 'base' memory mapping, preventing the leak and improving code readability.


How can this vulnerability impact me? :

The memory leak could lead to increased memory usage and potential resource exhaustion in systems using the ptp_qoriq driver, which might degrade system performance or stability over time if the error path is triggered repeatedly.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart