CVE-2025-38528
Linux Kernel vulnerability analysis and mitigation

Overview

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

Technical details

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 bpfbprintfprepare incorrectly skips over the second % character, treating it as punctuation while processing %p (NVD).

Impact

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

Mitigation and workarounds

A patch has been developed that fixes the issue by modifying the bpfbprintfprepare 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).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management