Description
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.
References (7)
Core 7
Core References
Third Party Advisory, Mailing List
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Scores
CVSS v3
5.5
EPSS
0.0003
EPSS Percentile
7.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (22)
debian/debian_linux
11.0
linux/Kernel
5.13.0 - 5.15.190linux
linux/Kernel
5.16.0 - 6.1.147linux
linux/Kernel
6.13.0 - 6.15.8linux
linux/Kernel
6.2.0 - 6.6.100linux
linux/Kernel
6.7.0 - 6.12.40linux
Linux/Linux
< 5.13
Linux/Linux
48cac3f4a96ddf08df8e53809ed066de0dc93915 - 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8
Linux/Linux
48cac3f4a96ddf08df8e53809ed066de0dc93915 - 61d5fa45ed13e42af14c7e959baba9908b8ee6d4
Linux/Linux
48cac3f4a96ddf08df8e53809ed066de0dc93915 - 6952aeace93f8c9ea01849efecac24dd3152c9c9
... and 12 more
Published
Aug 16, 2025
Tracked Since
Feb 18, 2026