CVE-2025-38054 Details
Description
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 signal_out[] arrays, causing NULL pointer dereferences and triggering a kernel Oops (page_fault_oops). This patch adds u8 fields (nr_freq_in, nr_signal_out) to track the number of initialized elements, with a maximum of 4 per array. The summary output functions are updated to respect these limits, preventing out-of-bounds access and ensuring safe array handling. Widen the label variables because the change confuses GCC about max length of the strings.
A vulnerability in the Linux kernel's Precision Time Protocol (PTP) component has been addressed. The issue arose in the debugfs summary output, which could inadvertently access uninitialized elements in the freq_in and signal_out arrays. This uninitialized access led to NULL pointer dereferences, causing a kernel Oops (page_fault_oops) error. The vulnerability has been resolved by introducing fields to track the number of initialized elements in the arrays, capping the count at four per array. The summary output functions have been modified to adhere to these limits, thereby preventing out-of-bounds access and ensuring safe array management.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0b7d3e782027ac3b6fec56159e8e348042000aef | kernel.org | Patch |
| https://git.kernel.org/stable/c/c9e455581e2ba87ee38c126e8dc49a424b9df0cf | kernel.org | Patch |
| https://git.kernel.org/stable/c/fcad74f894ac89790084cc2e1ec61b08220941d1 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.9, < 6.12.31 >= 6.13, < 6.14.9 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 6.15 rc6 6.15 rc7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |