Database/Kernel, userspace & hypervisor
Linux kernel BPF verifier: callback reference accounting lets a program leak or double-release kernel references
Impact
The verifier modelled for_each-style helper callbacks as if they ran exactly once, so a program whose callback acquires or releases a reference was accepted even though the callback actually runs many times. The result is leaked or multiply-released kernel object references from a program the verifier declared safe - memory exhaustion in the leak case, and reference-count corruption with the usual escalation potential in the release case. On a GPU fleet this sits in the path of anything that loads BPF on the host: CNI dataplanes, service mesh, tracing and profiling agents. Exploitation needs the ability to load a BPF program, so the practical exposure is a container that has been granted CAP_BPF/CAP_SYS_ADMIN, or an operator-run agent, not an ordinary tenant pod.
Who can reach it
Local, authenticated, and requires BPF load privilege (CAP_BPF or CAP_SYS_ADMIN, or unprivileged BPF enabled, which is off by default on current kernels). Not reachable from a tenant pod with a default container profile.
What to do
Update to a fixed stable kernel (commits in the record) and reboot the node; verifier changes ship in the kernel image, so each GPU node has to be drained and rebooted. Until then, confirm kernel.unprivileged_bpf_disabled is set and that no tenant workload holds CAP_BPF or CAP_SYS_ADMIN.
References
Related entries
- Linux kernel (drivers/nvme/host): The PRP list mempool is sized in the wrong units, so a large I/O that needs two PRPCVE-2022-50756 · Linux kernel (drivers/nvme/host)High
- Linux kernel (netfilter): Integer overflow in nft_payload_copy_vlan - stack leak plus local privilege escalationCVE-2023-0179 · Linux kernel (netfilter)High
- Linux kernel (ALSA): Use-after-free in snd_ctl_elem_read - local privilege escalationCVE-2023-0266 · Linux kernel (ALSA)High
- Oracle VirtualBox: Core component flaw allowing a low-privileged guest user to take over the host VirtualBoxCVE-2023-21987 · Oracle VirtualBoxHigh
- Linux kernel (io_uring): io_uring fixed-buffer registration gives out-of-bounds access to physical memoryCVE-2023-2598 · Linux kernel (io_uring)High
- Linux kernel (nf_tables): Use-after-free in nft_chain_lookup_byid() - local root (Pwn2Own Vancouver chain)CVE-2023-31248 · Linux kernel (nf_tables)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.