CVE-2026-139300: bpf: Don't take an extension for a writable raw tracepoint program
bpf: Don't take an extension for a writable raw tracepoint program
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.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - 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
What conditions are required to trigger this issue?
A writable raw tracepoint program must have an extension attached, either directly to the program or to one of its global functions. The extension can receive the same tracepoint context and writable-buffer pointer while its own maximum tracepoint access is not checked.
What is the impact when an affected extension accesses beyond the allowed buffer?
The extension can read or write beyond the buffer provided by the tracepoint. The reported failure is a KASAN-detected stack out-of-bounds write, and the tracepoint may provide no writable buffer at all.
What does the fix change?
The fix refuses extensions for writable raw tracepoint programs. This prevents an extension from being accepted with unchecked access requirements for the writable tracepoint buffer.