Kernel Kit / Infix / v26.10.0latest
CVE-2026-53106
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
bpf: Do not allow deleting local storage in NMI
Currently, local storage may deadlock when deferring freeing selem or local storage through kfree_rcu(), call_rcu() or call_rcu_tasks_trace() in NMI or reentrant. Since deleting selem in NMI is an unlikely use case, partially mitigate it by returning error when calling from bpf_xxx_storage_delete() helpers in NMI. Note that, it is still possible to deadlock through reentrant. A full mitigation requires returning error when irqs_disabled() is true, which, however is too heavy-handed for bpf_xxx_storage_delete().
The long-term solution requires _nolock versions of call_rcu. Another possible solution is to defer the free through irq_work [0], but it would grow the size of selem, which is non-ideal.
The check is only needed in bpf_selem_unlink(), which is used by helpers and syscalls. bpf_selem_unlink_nofail() is fine as it is called during map and owner tear down that never run in NMI or reentrant.
- [0]https://lore.kernel.org/bpf/20260205190233.912-1-alexei.starovoitov@gmail.com/
Published 2026-06-24NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · high confidence · 2026-11-05
The fix (adding an in_nmi() guard to bpf_selem_unlink() and splitting out bpf_selem_unlink_nofail()) is not present in linux-6.18.60 in this tree, and none of the 139 Buildroot patches touch BPF, so the vulnerable code is compiled in (CONFIG_BPF_SYSCALL=y builds bpf_local_storage.o, bpf_task_storage.o, bpf_cgrp_storage.o, bpf_sk_storage.o; bpf_inode_storage.o is not built because CONFIG_BPF_LSM is unset).
Triggering it requires loading a privileged eBPF program (CAP_BPF/CAP_PERFMON; CONFIG_BPF_UNPRIV_DEFAULT_OFF=y) that calls a bpf_*_storage_delete() helper from NMI context (e.g. a perf_event program on a hardware PMU event).
Infix ships no eBPF loader (no libbpf, bpftool or bpftrace), no finit service or confd/YANG node loads BPF programs, so reaching this path requires a root shell plus an attacker-supplied BPF loader; it is a local DoS (deadlock) only and not reachable from the network.
Evidence 10
bpf_selem_unlink() is still void and has no in_nmi() check; no bpf_selem_unlink_nofail() exists anywhere in kernel/bpf or include/linux/bpf_local_storage.h, so the upstream fix is not backported.
output/build/linux-6.18.60/kernel/bpf/bpf_local_storage.c:442-450
Delete helpers call bpf_selem_unlink(…, false) unconditionally (vulnerable call sites).
output/build/linux-6.18.60/kernel/bpf/bpf_task_storage.c:170, bpf_cgrp_storage.c:121, net/core/bpf_sk_storage.c:43
No applied patch mentions bpf (grep -ci bpf = 0).
output/build/linux-6.18.60/.applied_patches_list
VERSION 6.18.60 matches the NVD CPE; stable fix not in this release.
output/build/linux-6.18.60/Makefile:1-4
BPF syscall, tracing programs and NMI-capable perf events are enabled; unprivileged BPF is disabled by default.
output/build/linux-6.18.60/.config (CONFIG_BPF_SYSCALL=y, CONFIG_BPF_EVENTS=y, CONFIG_PERF_EVENTS=y, CONFIG_KPROBES=y, CONFIG_HAVE_NMI=y, CONFIG_BPF_UNPRIV_DEFAULT_OFF=y)
CONFIG_BPF_LSM is not set, so bpf_inode_storage.o is not built (kernel/bpf/Makefile:14).
output/build/linux-6.18.60/.config
bpf_local_storage.o, bpf_task_storage.o, bpf_cgrp_storage.o and net/core/bpf_sk_storage.o were compiled.
output/objects.txt
BR2_LINUX_KERNEL=y; no BR2_PACKAGE_LIBBPF, BPFTOOL or BPFTRACE selected; only *_ARCH_SUPPORTS lines present. No libbpf/xdp directories under output/build.
output/.config
No default or optional service loads eBPF programs; no 'bpf' string in finit.conf/finit.d or sysctl files.
board/common/rootfs/etc/finit.d/enabled (mstpd, netconf, rauc) and available/
No YANG model or confd code references bpf/xdp, so there is no management-interface way to load BPF programs.
src/confd/yang, src/confd/src
Version and patches
NVD/CNA: affected through 6.18.x prior to the stable backport (upstream fix 'bpf: Do not allow deleting local storage in NMI', stable refs 350de5b8a9be and e84acaf93697). This tree is 6.18.60 with no in_nmi() guard in bpf_selem_unlink() and no Buildroot patch addressing it, so the build is affected.
Recommendation
Document as not exposed; pick up the fix with the next routine kernel bump to a 6.18.y containing the stable backport. No urgent backport needed: exploitation requires root/CAP_BPF on the device plus an externally supplied eBPF loader, and impact is local DoS only.
Open questions
Exact first fixed 6.18.y stable version cannot be confirmed offline (the stable commit IDs could not be fetched). Whether the Infix CLI's admin shell counts as 'inside the product' is a policy question; even with it, no eBPF toolchain is shipped in the image.
Members of Kernel Kit decide. Sign in if you are one.