AZL-117031: CVE-2026-139301 affecting package kernel 6.6.161.1-1
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
What capabilities are needed to exploit this issue?
An attacker needs to load a writable raw tracepoint BPF program and use a tail call to reach another program that reads or writes beyond the tracepoint buffer limits. The initial program can avoid directly accessing the buffer, allowing it to pass the original verifier check.
What changes after the vulnerability is resolved?
Writable raw tracepoint BPF programs that use tail calls to reach tracepoint, stack, packet, or iterator buffers can no longer be attached. Plain raw tracepoint programs remain allowed because their buffer limit is zero and their tail calls stay within the same type.