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

CVE-2025-37938
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5013f454a352cce8e62162976026a9c472595e42 < 6854c87ac823181c810f8c07489ba543260c0023 ; affected 5013f454a352cce8e62162976026a9c472595e42 < 4d11fac941d83509be4e6a21038281d6d96da50c ; affected 5013f454a352cce8e62162976026a9c472595e42 < 03127354027508d076073b020d3070990fd6a958 ; affected 5013f454a352cce8e62162976026a9c472595e42 < 04b80d45ecfaf780981d6582899e3ab205e4aa08 ; affected 5013f454a352cce8e62162976026a9c472595e42 < c7204fd1758c0caf1938e8a59809a1fdf28a8114 ; affected 5013f454a352cce8e62162976026a9c472595e42 < ea8d7647f9ddf1f81e2027ed305299797299aa03
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 6.1.136 ≤ 6.1.* ; unaffected 6.6.89 ≤ 6.6.* ; unaffected 6.12.26 ≤ 6.12.* ; unaffected 6.13.11 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD