CVE-2025-37938
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
| kernel-livepatch-6.12.29-33.102 | Amazon Linux | 1.0-0.amzn2023 |
| perf6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
| kernel-livepatch-6.1.140-154.222 | Amazon Linux | 1.0-0.amzn2023 |
| bpftool | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.140-154.222.amzn2023 |
| python3-perf | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.140-154.222.amzn2023 |
| python3-perf6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.140-154.222.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5013f454a352cce8e62162976026a9c472595e42, 5013f454a352cce8e62162976026a9c472595e42, 5013f454a352cce8e62162976026a9c472595e42 |
| Linux | Linux | 5.13, 0, 6.1.136 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.29-33.102 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.140-154.222 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 5013f454a352cce8e62162976026a9c472595e42, 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