CVE-2025-37938

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37938
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37938.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37938
Downstream
Related
Published
2025-05-20T15:34:40.509Z
Modified
2025-11-28T02:35:34.367032Z
Summary
tracing: Verify event formats that have "%*p.."
Details

In the Linux kernel, the following vulnerability has been resolved:

tracing: Verify event formats that have "%*p.."

The trace event verifier checks the formats of trace events to make sure that they do not point at memory that is not in the trace event itself or in data that will never be freed. If an event references data that was allocated when the event triggered and that same data is freed before the event is read, then the kernel can crash by reading freed memory.

The verifier runs at boot up (or module load) and scans the print formats of the events and checks their arguments to make sure that dereferenced pointers are safe. If the format uses "%*p.." the verifier will ignore it, and that could be dangerous. Cover this case as well.

Also add to the sample code a use case of "%*pbl".

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37938.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5013f454a352cce8e62162976026a9c472595e42
Fixed
6854c87ac823181c810f8c07489ba543260c0023
Fixed
4d11fac941d83509be4e6a21038281d6d96da50c
Fixed
03127354027508d076073b020d3070990fd6a958
Fixed
04b80d45ecfaf780981d6582899e3ab205e4aa08
Fixed
c7204fd1758c0caf1938e8a59809a1fdf28a8114
Fixed
ea8d7647f9ddf1f81e2027ed305299797299aa03

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
6.1.136
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.89
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.26
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2