CVE-2025-37938
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5013f454a352cce8e62162976026a9c472595e42 before 6854c87ac823181c810f8c07489ba543260c0023, from 5013f454a352cce8e62162976026a9c472595e42 before 4d11fac941d83509be4e6a21038281d6d96da50c, from 5013f454a352cce8e62162976026a9c472595e42 before 03127354027508d076073b020d3070990fd6a958, from 5013f454a352cce8e62162976026a9c472595e42 before 04b80d45ecfaf780981d6582899e3ab205e4aa08, from 5013f454a352cce8e62162976026a9c472595e42 before c7204fd1758c0caf1938e8a59809a1fdf28a8114, from 5013f454a352cce8e62162976026a9c472595e42 before ea8d7647f9ddf1f81e2027ed305299797299aa03, 5.13
Not affected: before 5.13, from 6.1.136 up to 6.1.*, from 6.6.89 up to 6.6.*, from 6.12.26 up to 6.12.*, from 6.13.11 up to 6.13.*, from 6.14.2 up to 6.14.*
CVE List
linux linux_kernelfrom 5.13 before 6.1.136, from 6.2 before 6.6.89, from 6.7 before 6.12.26, from 6.13 before 6.13.11, from 6.14 before 6.14.2NVD
debian debian_linux11.0NVD

All scores

Linux7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rastreo: Verificar formatos de eventos que contengan "%*p.." El verificador de eventos de rastreo verifica los formatos de los eventos de rastreo para asegurarse de que no apunten a memoria que no esté en el propio evento de rastreo ni a datos que nunca se liberarán. Si un evento hace referencia a datos asignados al momento de su activación y esos mismos datos se liberan antes de la lectura del evento, el kernel puede bloquearse al leer la memoria liberada. El verificador se ejecuta al arrancar (o al cargar un módulo) y analiza los formatos de impresión de los eventos, además de comprobar sus argumentos para garantizar la seguridad de los punteros desreferenciados. Si el formato usa "%*p..", el verificador lo ignorará, lo cual podría ser peligroso. Considere también este caso. Añada también al código de ejemplo un caso de uso de "%*pbl".

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37938 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-37938 changed 2026-10-15Public domain