PT-2026-163339
CVE-2026-139298
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo 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 take a program with a target program for an iterator
bpf iter prog supported() goes by the name of the attach function. Commit
7cc639dc45c5 ("bpf: Don't take an extension for an iterator program")
keeps out extensions, for which that is the name of a function of another
program. A tracing program with BPF TRACE ITER that is loaded with
attach prog fd gets there as well: unlike for BPF TRACE RAW TP,
bpf check attach target() does not mind the target program.
If the function is called like that of an iterator target, bpf iter bpf map
for example, its id in the BTF of the program is cached as the id of the
target, even if the load fails later. Programs of that target which are
loaded already cannot be attached any more. And the program itself can be
attached as an iterator of that target, with a context that the verifier
has taken from the prototype of that function:
BUG: KASAN: stack-out-of-bounds in bpf prog 66d4234e2e50f5b6 ts26 forged+0x12a/0x20b
Read of size 8 at addr ffffc90000d9fc48 by task ts26/104
Refuse every program that has a target program. That covers extensions.
Found an issue in the description? Have something to add? Feel free to write us 👾