CVE-2026-139635

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139636In the Linux kernel, the following vulnerability has been resolved: HID: Intel-thc-hid: Intel-quicki2c: Use hid_safe_input_report() ReplacCVE-2026-1396377.0In the Linux kernel, the following vulnerability has been resolved: serial: sh-sci: Unregister UART on sysfs setup failure sci_probe_singlCVE-2026-139638In the Linux kernel, the following vulnerability has been resolved: serial: 8250_mxpcie: take the line settings from the new termios mxpciCVE-2026-139639In the Linux kernel, the following vulnerability has been resolved: serial: 8250_mxpcie: only unregister the ports that were registered WhCVE-2026-139646.5Insufficient policy enforcement in WebView in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker to bypass navigationCVE-2026-139640In the Linux kernel, the following vulnerability has been resolved: serial: 8250_mxpcie: set the driver data before registering ports mxpcCVE-2026-139641In the Linux kernel, the following vulnerability has been resolved: media: staging/ipu7: release ISYS firmware resources on remove isys_reCVE-2026-139642In the Linux kernel, the following vulnerability has been resolved: swim: Fix buffer overflow The effect of this bug can be observed as swCVE-2026-139643In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Guard steering anchor resource destruction on create error CVE-2026-139644In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - kill v5 IRQ tasklet during teardown On PCI devices usingCVE-2026-139645In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - kill v3 IRQ tasklet during teardown On PCI devices usingCVE-2026-139646In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - fix SFS ioctl race against device teardown sfs_ioctl() r
CVE-2026-139635: Unscored | Vulnix