CVE-2025-37938

MEDIUM

Linux Kernel 5.13-6.14.1 Use-After-Free via Trace Event Format Verifier

Title source: llm
STIX 2.1

Description

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".

Scores

CVSS v3 5.5
EPSS 0.0007
EPSS Percentile 21.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (21)
debian/debian_linux 11.0
linux/Kernel 5.13.0 - 6.1.136linux
linux/Kernel 6.13.0 - 6.13.11linux
linux/Kernel 6.14.0 - 6.14.2linux
linux/Kernel 6.2.0 - 6.6.89linux
linux/Kernel 6.7.0 - 6.12.26linux
Linux/Linux < 5.13
Linux/Linux 5.13
Linux/Linux 5013f454a352cce8e62162976026a9c472595e42 - 03127354027508d076073b020d3070990fd6a958
Linux/Linux 5013f454a352cce8e62162976026a9c472595e42 - 04b80d45ecfaf780981d6582899e3ab205e4aa08
... and 11 more
Published May 20, 2025
Tracked Since Feb 18, 2026