
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38528 is a vulnerability discovered in the Linux kernel related to improper handling of format strings in BPF (Berkeley Packet Filter) helpers. The vulnerability was first published on August 16, 2025, and affects various Linux distributions including Ubuntu and Debian (NVD, Ubuntu Security).
The vulnerability exists in the BPF subsystem where a format string containing '%p%' in bprintf-like helpers is not properly rejected. When exploited, a BPF program using this format string causes a kernel warning at runtime with the message 'Please remove unsupported %\x00 in format string' at lib/vsprintf.c:2680. The issue occurs because bpf_bprintf_prepare incorrectly skips over the second % character, treating it as punctuation while processing %p (NVD).
The vulnerability affects multiple Linux distributions and their derivatives, particularly impacting newer versions of Ubuntu (22.04 LTS, 24.04 LTS, and 25.04) and Debian testing releases. Various kernel packages including linux-azure, linux-gcp, and linux-aws are affected (Ubuntu Security, Debian Security).
The vulnerability can be triggered by a BPF program using a specific format string pattern. A proof-of-concept exists using the code: static const char fmt[] = "%p%"; bpf_trace_printk(fmt, sizeof(fmt)); which demonstrates the vulnerability (NVD).
A patch has been developed that fixes the issue by modifying the bpf_bprintf_prepare function to not skip over punctuation characters. This ensures that the %\x00 is properly processed and rejected in the next iteration. The fix has been incorporated into newer kernel versions (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."