CVE-2026-139618: bpf: Fix uninit read for helper mem args on partially spilled slots
bpf: Fix uninit read for helper mem args on partially spilled slots
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.11 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.16 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - 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
What does an attacker need to do to trigger the issue?
They need to load and execute a BPF program that creates a partially spilled scalar value in a stack slot and passes that slot as helper memory, such as to bpf_ringbuf_output. The verifier can incorrectly allow the helper to read the uninitialized portion of the slot.
What data could be exposed if exploitation succeeds?
The uninitialized bytes in the partially spilled stack slot can be read by the BPF helper. The provided example shows four initialized bytes followed by four uninitialized bytes being output through a ring buffer.
How can I determine whether a system has the fix?
Check whether the installed kernel includes one of the referenced stable commits: 169884f932924796d6947fc6adcabd5fc2d92575, e81530cbce0b751936d962cabe43a8436aaae109, or f3bd942493c912fd84a5c3fe57b7ea31083988b6. The fix restricts the spilled-register path to bytes explicitly marked STACK_SPILL.