CVE-2025-38054

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38054
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38054.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38054
Downstream
Published
2025-06-18T10:15:38Z
Modified
2025-06-18T15:00:22Z
Summary
[none]
Details

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 freqin[] and signalout[] arrays, causing NULL pointer dereferences and triggering a kernel Oops (pagefaultoops). This patch adds u8 fields (nrfreqin, nrsignalout) 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.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.32-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}