CVE-2025-38054
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38054 is a NULL pointer dereference vulnerability in the Linux kernel's PTP (Precision Time Protocol) OCP driver, specifically in the debugfs summary output functions. The flaw arises from uninitialized element access in the freq_in[] and signal_out[] arrays, which can trigger a kernel Oops (page_fault_oops). Affected versions include Linux kernel 6.9 through 6.12.30 and 6.13 through 6.14.8, as well as release candidates 6.15-rc1 through 6.15-rc7. It was published on June 18, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly).

Technical details

The root cause is classified as CWE-908 (Use of Uninitialized Resource). The ptp_ocp driver's debugfs summary output functions iterate over freq_in[] and signal_out[] arrays without tracking how many elements have been initialized, leading to out-of-bounds access and NULL pointer dereferences when uninitialized entries are read. The fix introduces two u8 fields — nr_freq_in and nr_signal_out — to track the count of initialized elements (capped at 4 per array), and updates the summary functions to respect these limits. Exploitation requires local access with low privileges, such as the ability to read debugfs entries on a system with a PTP OCP hardware device (Feedly, Kernel Patch).

Impact

Successful exploitation causes a kernel Oops (page_fault_oops), resulting in a denial of service through system crash or kernel instability. There is no confidentiality or integrity impact — the vulnerability is limited to availability. Systems running affected kernel versions with PTP OCP hardware and accessible debugfs interfaces are at risk (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication. The EPSS score is approximately 0.017% (0.000170), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained to local, low-privilege attackers on systems with PTP OCP hardware and debugfs access (Feedly).

Mitigation and workarounds

Update to a patched Linux kernel version: 6.12.31 or later for the 6.12 stable branch, or 6.14.9 or later for the 6.14 stable branch; kernel 6.15 (stable release) also includes the fix. The patches are available at the upstream kernel stable repository. As a workaround, restricting local user access to debugfs (e.g., mounting with debugfs restricted or unmounted) can reduce exposure. Systems without PTP OCP hardware are not affected (Feedly, Kernel Patch). Ubuntu has issued security notices USN-7771-1 and USN-7789-1 addressing this vulnerability (Ubuntu USN-7771-1, Ubuntu USN-7789-1).

Community reactions

Ubuntu issued security notices USN-7771-1 and USN-7789-1 covering this and related kernel vulnerabilities, indicating downstream distribution uptake of the fix (Ubuntu USN-7771-1, Ubuntu USN-7789-1). No notable independent researcher commentary or significant social media discussion has been observed for this vulnerability.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management