PT-2026-163676
CVE-2026-139635
·
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: Keep target extended until its last freplace link detaches
The is extended / prog array member cnt protocol introduced by commit
d6083f040d5d ("bpf: Prevent tailcall infinite loop caused by freplace")
keeps a prog extended by a freplace program out of prog array maps, and
vice versa: once a tail call re-enters an extended subprogram, its
tail call cnt resets on every execution and the loop never terminates.
But is extended is a plain boolean, while one target prog can carry
several freplace links at the same time, one on its entry and one on a
global subprogram. bpf trampoline unlink prog() cleared is extended
whenever any freplace link detached, so detaching one of two links
re-armed the unbounded loop through the remaining one.
Replace the is extended boolean with a count of the freplace links
attached to each target prog, so the target stays extended until its
last link detaches. Also rename bpf freplace check tgt prog() to
bpf freplace link tgt prog(), as the helper has never been a pure
check: it reserves the target prog on success.
Found an issue in the description? Have something to add? Feel free to write us 👾