CVE-2026-139444

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Reject BTF ids with the same address in tracing_multi link

check_dup_ids() rejects equal BTF ids, but different ids can resolve to the same address. Aliases:

ffffffff8161b6b0 t __do_sys_munlockall ffffffff8161b6b0 T __ia32_sys_munlockall ffffffff8161b6b0 T __x64_sys_munlockall

or several BTF_KIND_FUNC with the same name that vmlinux BTF has when CONFIG_DEBUG_INFO_BTF_INLINE is set.

Each id gets its own trampoline and register_fentry_multi() adds them to data->reg with the same ip. update_ftrace_direct_add() checks that new entries are not in direct_functions, but doesn't compare them with each other, so the attach succeeds. At detach update_ftrace_direct_del() sees that 'direct' of one of the entries doesn't match and returns -EINVAL:

WARNING: kernel/bpf/trampoline.c:1845 at bpf_trampoline_multi_detach+0x24c/0x280 Call Trace: bpf_link_free+0x51/0x110 bpf_link_release+0x18/0x20 __fput+0x103/0x2d0 __x64_sys_close+0x3d/0x80

The images are freed anyway, while ftrace still calls them:

Oops: int3: 0000 [#1] SMP NOPTI RIP: 0010:0xffffffffc042b201 Call Trace: ? __audit_syscall_exit+0x9/0x100 ? do_syscall_64+0x5ab/0x5e0 entry_SYSCALL_64_after_hwframe+0x77/0x7f Kernel panic - not syncing: Fatal exception in interrupt

Return -EINVAL from register_fentry_multi() when ip is already in data->reg. When such ids are attached via different links the second attach already fails with -EINVAL in update_ftrace_direct_add().

Move the declaration of ftrace_lookup_ip() to include/linux/ftrace.h.

The lookup adds 60 msec to the attach of 64480 functions in tracing_multi_bench_attach: 1.34 -> 1.40 sec.

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-139445In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Cancel software CQ notifications before teardown GSI compleCVE-2026-139446In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Cancel deferred page-fault EQ work before teardown Page-fauCVE-2026-139447In the Linux kernel, the following vulnerability has been resolved: xhci: dbc: lock the minor IDR on registration failure dbc_tty_minors iCVE-2026-139448In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Clear driver_udata before destroying objects in rdma_core WCVE-2026-139449In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq On disconnect thCVE-2026-139453.1Insufficient policy enforcement in Extensions in Google Chrome on Linux prior to 150.0.7871.47 allowed an attacker who convinced a user to iCVE-2026-139450In the Linux kernel, the following vulnerability has been resolved: erofs: fix xattrs handling when metadata compression is used erofs_breCVE-2026-139451In the Linux kernel, the following vulnerability has been resolved: bpf, arm64: Fix racy plt target update in bpf_arch_text_poke() When a CVE-2026-139452In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: Disable unsol event handling at error and shutdown paths WhCVE-2026-139453In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: Stop unsol events and jack polling before codec unbind At uCVE-2026-139454In the Linux kernel, the following vulnerability has been resolved: cxl/port: Attach endpoints to a dport under the lock that pins it devmCVE-2026-139455In the Linux kernel, the following vulnerability has been resolved: cxl/core: Hold the dport host lock across dport lookup and use Callers
CVE-2026-139444: Unscored | Vulnix