CVE-2026-139603: bpf: Skip zero-length stream writes
bpf: Skip zero-length stream writes
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which systems are exposed to unbounded allocation?
Systems are exposed when BPF programs repeatedly perform stream writes whose formatted output is empty, including through bpf_stream_vprintk() or staged writes, while stream elements are not drained by a reader.
What would an attacker or triggering workload need to do?
It would need to repeatedly cause zero-length formatted stream output. Each empty write can allocate and link a stream element even though it contributes no payload bytes to capacity accounting.
How can this condition be recognized?
A stream log may continue accumulating allocated elements despite producing no payload bytes. The growth continues until a reader drains the stream.