Kernel Vulnerability in Linux Package: Uninitialized Access Leading to Kernel Oops
Summary
DEBIAN-CVE-2025-38054: In the Linux kernel, the following vulnerability has been resolved: ptp: ocp: Limit signal/freq counts in summary output functions The debugfs summary output could access uninitialized elements in the freq_in[] and signa... Affects linux versions < 6.12.32-1. Fixed in 6.12.32-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is a core component of the operating system that manages hardware and system resources, providing essential services for all other software. It is known for its robustness and flexibility, supporting a wide range of hardware architectures. However, vulnerabilities can arise, such as the one identified in this report, which affects the stability and security of the system.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the Precision Time Protocol (PTP) subsystem. Specifically, the debugfs summary output functions could access uninitialized elements in the freq_in[] and signal_out[] arrays. This could lead to NULL pointer dereferences, resulting in a kernel Oops (page_fault_oops). The issue stems from the lack of proper tracking of initialized elements in these arrays, which could allow for out-of-bounds access and unsafe handling of array data.
How To Fix
Minimum fixed version
6.12.32-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, no specific workarounds have been provided for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate any potential risks.
Conclusion
In summary, the identified vulnerability in the Linux kernel poses significant risks due to uninitialized access in the PTP subsystem. It is crucial to update to the patched version 6.12.32-1 to mitigate these risks and ensure system stability and security.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves uninitialized access in the Linux kernel's PTP subsystem, which can lead to kernel Oops due to NULL pointer dereferences.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the manifest file like package-lock.json, it can help identify if your application is impacted.
If exploited, this vulnerability could lead to system instability, crashes, or unauthorized access, compromising the overall security of the system.
Yes, a patch has been released in version 6.12.32-1 of the Linux package, which addresses the vulnerability.
You can use the Vulert playground to monitor your applications for vulnerabilities in real-time without requiring any installation or signup.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.