AZL-117028: CVE-2026-139300 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
bpf: Don't take an extension for a writable raw tracepoint program
bpfproberegister() compares maxtpaccess of the program that is attached with the size of the buffer that the tracepoint lets programs write to. An extension of that program, or of one of its global functions, gets the same context and the same pointer to the buffer. What it accesses is noted in its own maxtpaccess, which nobody looks at. So it reads and writes behind the buffer, of a tracepoint that may have none:
BUG: KASAN: stack-out-of-bounds in bpfprog5843f2b820eb4929tr26extfar+0xf4/0x10c Write of size 4 at addr ffffc90000d8f894 by task wext/103
Refuse such extensions.
Affected Software
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems running the Azure Linux kernel package version 6.6.161.1-1 are identified as affected. Exposure requires use of BPF extensions attached to a writable raw tracepoint program, including extensions of that program's global functions.
What does successful exploitation involve?
The vulnerable validation checks the attached program's maximum tracepoint access but does not validate the extension's own access requirements. A malicious or unsafe extension can therefore read or write beyond the tracepoint-provided buffer, including when the tracepoint provides no writable buffer.
How can I determine whether a host is affected?
Check whether the host is using the Azure Linux kernel package and whether its installed version is 6.6.161.1-1. Also identify workloads that register BPF extensions for writable raw tracepoint programs or their global functions.