CVE Catalog

CVE-2025-38528

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel, the bprintf helpers (e.g., bpf_trace_printk) mishandled the "%p%" format sequence, causing a kernel warning at runtime because the second percent sign was skipped during %p processing.

Risk Assessment

An attacker could trigger a kernel warning, potentially leading to system instability or facilitating DoS attacks.

Recommendation

Apply the Linux kernel patch that rejects the "%p%" sequence in bprintf formats, preventing the warning.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject %p% format string in bprintf-like helpers static const char fmt[] = "%p%"; bpf_trace_printk(fmt, sizeof(fmt)); The above BPF program isn't rejected and causes a kernel warning at runtime: Please remove unsupported %\x00 in format string WARNING: CPU: 1 PID: 7244 at lib/vsprintf.c:2680 format_decode+0x49c/0x5d0 This happens because bpf_bprintf_prepare skips over the second %, detected as punctuation, while processing %p. This patch fixes it by not skipping over punctuation. %\x00 is then processed in the next iteration and rejected.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS