Database/Kernel, userspace & hypervisor
Linux kernel BPF: freplace program in a tail-call chain resets tail_call_cnt and panics the kernel
Impact
A BPF extension (freplace) program attached inside a tail-call chain resets tail_call_cnt on every entry, so the usual tail-call limit never fires and the chain loops until the kernel panics. The fix forbids the two combinations that create the loop: updating an freplace-extended program into a prog_array, and extending a program already in a prog_array; BPF_PROG_TYPE_EXT programs are also rejected from prog_array maps. Operators who run CNI, service-mesh or observability agents that load their own BPF programs are the exposed population - a panic takes the whole node and every GPU job on it, not one container. Availability only.
Who can reach it
Local, requires the ability to load and attach BPF programs - CAP_BPF plus the attach capability, i.e. a privileged agent or a container granted BPF access. Not reachable by an ordinary unprivileged tenant pod.
What to do
Update to a stable kernel carrying the linked fix commits and reboot the node; there is no runtime mitigation other than not granting BPF load/attach rights to workloads. The record lists commits only, no vendor fixed-version string - map them onto the stable branch you track.
References
Related entries
- Linux kernel x86/mm: identity maps built from 1 GB pages cover unrequested reserved memoryCVE-2024-50017 · Linux kernel x86 identity mapping (ident_pud_init GB-page mapping)Medium
- Linux kernel (net/xfrm): Dumping SAs over xfrm netlink copies algorithm structures that were never fully initializedCVE-2024-50110 · Linux kernel (net/xfrm)Medium
- Linux kernel (drivers/gpu/drm/xe): Passing a sync object that fails fence lookup makes the exec ioctl return toCVE-2024-53086 · Linux kernel (drivers/gpu/drm/xe)Medium
- Linux kernel (drivers/gpu/drm/xe): Every exec ioctl that bails on an input-validation error leaves an exec-queueCVE-2024-53087 · Linux kernel (drivers/gpu/drm/xe)Medium
- Linux kernel sockmap: vsock or AF_UNIX socket in a sockmap faults in tls_sw_ctx_rxCVE-2024-53091 · Linux kernel sockmap/kTLS (tls_sw_has_ctx_tx/rx assumes an inet_connection_sock)Medium
- Linux kernel RDMA/siw: slab pages passed to MSG_SPLICE_PAGES trip a skb_splice_from_iter warningCVE-2024-53094 · Linux kernel RDMA/siw (software iWARP transmit path, MSG_SPLICE_PAGES)Medium
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.