CVE-2025-38054
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
14/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ptp: ocp: Limit signal/freq counts in summary output functions<br />
<br />
The debugfs summary output could access uninitialized elements in<br />
the freq_in[] and signal_out[] arrays, causing NULL pointer<br />
dereferences and triggering a kernel Oops (page_fault_oops).<br />
This patch adds u8 fields (nr_freq_in, nr_signal_out) to track the<br />
number of initialized elements, with a maximum of 4 per array.<br />
The summary output functions are updated to respect these limits,<br />
preventing out-of-bounds access and ensuring safe array handling.<br />
<br />
Widen the label variables because the change confuses GCC about<br />
max length of the strings.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.9 (including) | 6.12.31 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.14.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



