Database/Kernel, userspace & hypervisor
Linux kernel BPF: resilient lock release in rbtree callback causes use-after-free
Impact
The BPF verifier did not stop a BPF rbtree comparison callback from releasing the tree's root lock through the resilient-lock kfuncs. Another CPU could then remove and free a node while the tree walk was still using it, a use-after-free in kernel memory that could lead to a crash or memory corruption. Only BPF programs that use rbtrees guarded by resilient locks can reach it. Unprivileged BPF is disabled on most distributions, so the realistic exposure is processes or containers holding CAP_BPF/CAP_SYS_ADMIN, such as observability or networking agents.
Who can reach it
A local user or container able to load BPF programs (CAP_BPF or equivalent). Not reachable by an ordinary unprivileged tenant where unprivileged BPF is disabled.
What to do
Install a kernel that contains the stable fix commits listed below, then drain and reboot each node. Until then, make sure unprivileged BPF stays disabled (kernel.unprivileged_bpf_disabled) and do not give tenant containers CAP_BPF or CAP_SYS_ADMIN.
References
Related entries
- Linux kernel BPF: per-CPU map updates index by logical CPU id, reading past the update bufferCVE-2026-98149 · Linux kernel BPF per-CPU map update paths (array, hash, cgroup storage)High
- Linux kernel RDMA/rxe: ODP write paths accept read-only pages, letting RDMA traffic overwrite the page cacheCVE-2026-98361 · Linux kernel RDMA/rxe (soft-RoCE on-demand paging write path)High
- Linux kernel RDMA/rxe: MR re-registration swaps the PD before validating access flags, freeing a live PDCVE-2026-98366 · Linux kernel RDMA/rxe rxe_rereg_user_mr() (access-flag validation ordering)High
- Linux kernel RDMA/siw: failed QP modify in siw_accept() races QP-to-ERROR transition into a use-after-freeCVE-2026-98367 · Linux kernel RDMA/siw siw_accept() (CEP association cleared outside state_lock)High
- Linux kernel mm/rmap: missing barrier lets a reused anon_vma hang tasks and use-after-free its rootCVE-2026-98507 · Linux kernel mm/rmap (anon_vma publish without memory barrier)High
- Linux kernel rds/ib: stale scatterlist after failed MR registration gives a use-after-free on teardownCVE-2026-98524 · Linux kernel RDS over InfiniBand (rds_ib_map_frmr scatterlist ownership)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.