PT-2026-163338

CVE-2026-139297

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
bpf: Don't let an extension reach further into the context than its target
How large the context of a raw tracepoint, tracepoint or syscall program is depends on what the program is attached to, or is run with. bpf probe register(), perf event set bpf prog() and the test runs compare that with max ctx offset of the program.
An extension of the program, or of one of its global functions, gets the same context. How far it reaches is noted in its own max ctx offset, which nobody looks at. On a tracepoint with one argument it reads the stack behind the arguments, in a test run the memory behind the context, or from NULL if there is none:
BUG: KASAN: stack-out-of-bounds in bpf prog 954b5d2051843629 ts28 ext far+0x7e/0x113 Read of size 8 at addr ffffc90000def7b8 by task ts28/104
BUG: KASAN: slab-out-of-bounds in bpf prog 954b5d2051843629 ts28 ext far+0x7e/0x113 Read of size 8 at addr ffff88810712c3e8 by task ts28/104
Refuse to attach an extension that reaches further than the program which it extends. A program that leaves the context to its extensions has to touch as much of it as they do.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾