Database/Kernel, userspace & hypervisor
Linux kernel sockmap: cork use-after-free when two threads send on the same socket
Impact
tcp_bpf_sendmsg() decided whether its message was the local temporary or the shared psock cork by comparing against psock->cork after sk_stream_wait_memory() had dropped and reacquired the socket lock. A second thread completing the cork in that window makes the stale pointer look local, and it is freed twice - KASAN reports a slab use-after-free. What makes this one worth attention is who can reach it: the sockmap has to be installed by a privileged component (Cilium sockops/sk_msg acceleration, or a sidecar-less mesh), but the trigger is ordinary multithreaded sending by the workload whose sockets are in that map. On a shared GPU node that is a tenant-reachable slab UAF, not a root-only one.
Who can reach it
Any local process whose sockets have been added to a sockmap - a pod on a node running sockmap-based socket acceleration - sending from two threads while an sk_msg allocation fails. The sender needs no capabilities; a privileged component must have installed the sockmap.
What to do
Update to a stable kernel with the fix and reboot each affected node. Where that cannot happen quickly, turning off sockmap-based socket acceleration in the dataplane (the sockops/sk_msg path) removes the code path entirely at a throughput cost. Reboots mean draining GPU jobs first; of the kernel items in this batch, this is the one with the widest reachable audience, so schedule it ahead of the root-only ones.
References
Related entries
- Linux kernel (net/rds): Network-namespace teardown frees the per-netns RDS/TCP listen socket before unregistering theCVE-2026-68290 · Linux kernel (net/rds)High
- Linux kernel RDS (rds_find_bound socket lookup ignores network namespace): This is a literal cross-tenant delivery bug.CVE-2026-68335 · Linux kernel RDS (rds_find_bound socket lookup ignores network namespace)High
- Linux kernel mlx5_core MACsec offload: Deleting an offloaded MACsec RX secure channel frees the per-SC metadata_dstCVE-2026-72072 · Linux kernel mlx5_core MACsec offloadHigh
- Linux kernel bpf: fork bailout frees an uninitialized task->bpf_storage, causing UAF or hangCVE-2026-72110 · Linux kernel BPF task local storage (copy_process / free_task bailout)High
- Linux kernel mm: DAX hotplug into an early section leaves ZONE_DEVICE tail struct pages uninitializedCVE-2026-72172 · Linux kernel mm/mm_init (ZONE_DEVICE compound_nr_pages on early sections)High
- Linux kernel (arch/x86/kvm/vmx): The nested vTPR versus TPR-threshold consistency check ran only after KVM had alreadyCVE-2026-72287 · Linux kernel (arch/x86/kvm/vmx)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.