VDB

CVE-2025-37938

CVE-2025-37938 PUBLISHED CVSS 7.1 HIGH

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

Reported by linux · Published May 20, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.140-154.222.amzn2023
kernel6.12Amazon Linux6.12.29-33.102.amzn2023
kernel-livepatch-6.12.29-33.102Amazon Linux1.0-0.amzn2023
perf6.12Amazon Linux6.12.29-33.102.amzn2023
kernel-livepatch-6.1.140-154.222Amazon Linux1.0-0.amzn2023
bpftoolAmazon Linux6.1.140-154.222.amzn2023
kernel-modules-extraAmazon Linux6.1.140-154.222.amzn2023
python3-perfAmazon Linux6.1.140-154.222.amzn2023
kernel-libbpf-staticAmazon Linux6.1.140-154.222.amzn2023
python3-perf6.12Amazon Linux6.12.29-33.102.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.140-154.222.amzn2023
kernel-libbpfAmazon Linux6.1.140-154.222.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux5013f454a352cce8e62162976026a9c472595e42, 5013f454a352cce8e62162976026a9c472595e42, 5013f454a352cce8e62162976026a9c472595e42
LinuxLinux5.13, 0, 6.1.136
amazon:2023kernel-headers0
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.12.29-33.1020
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.1.140-154.2220
amazon:2023bpftool0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023perf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-devel0
LinuxLinux5013f454a352cce8e62162976026a9c472595e42, 5.13, 0

…and 3 more

Timeline

  • May 20, 2025 CVE Published
  • May 21, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (6 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (221 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (230 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37938
vulnetix vdb fixes CVE-2025-37938

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37938/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›