CVE-2026-139301: bpf: Assume no bounds for a writable tp with tail calls
In the Linux kernel, the following vulnerability has been resolved:
bpf: Assume no bounds for a writable tp with tail calls
A writable raw tracepoint hands a buffer to the program. The verifier notes how far the program reaches into it, and bpfproberegister() refuses a program that reaches further than the tracepoint allows. A program that does not touch the buffer passes, and can tail-call one of its type that reads and writes behind it.
Take a BPFPROGTYPERAWTRACEPOINTWRITABLE program with a tail call to reach as far as can be, as for the stack, the packet and the buffers of iterators. It cannot be attached any more. Plain raw tracepoint programs, for which the limit is zero, cannot get at the buffer, and a tail call stays within one type: they are left alone.
Affected Software
Event History
Frequently Asked Questions
Which BPF programs are affected by the verifier issue?
The issue applies to BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE programs that use a tail call. A program that does not access its writable tracepoint buffer can tail-call another program that reads or writes beyond the tracepoint's permitted buffer range.
Are ordinary raw tracepoint programs affected?
Plain raw tracepoint programs are left unaffected. Their buffer limit is zero, so they cannot access the buffer, and tail calls remain within the same program type.
How can I identify potentially affected programs?
Review loaded or deployed BPF programs for BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE programs that perform tail calls. Programs in that category are the relevant exposure, particularly where a tail-called program accesses the writable tracepoint buffer.