bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-53106

5.5medium

linux6.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

References 2
Review Av26.10.0x86_64Not exposedAccepted by a member, 2026-11-18. 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).This build follows it · open the review →

Members of Kernel Kit decide. Sign in if you are one.