Database/Kernel, userspace & hypervisor
Linux kernel BPF sockmap: unhashed UDP sockets leak socket refcounts, exhausting host memory
Impact
sockmap accepted unbound UDP sockets. Because UDP sets SOCK_RCU_FREE when bound, a socket looked up by a BPF program while unbound and then bound afterwards never gets its refcount decremented by bpf_sk_release(), so struct sock allocations accumulate and are never freed. On a node running a service mesh, CNI or observability agents that use sockmap, this is an unbounded kernel memory leak that ends in OOM pressure on the host rather than a control-flow compromise. A GPU node that hits memory pressure has to be drained and rebooted, which is expensive when long-running training jobs are resident. Exploiting it requires the ability to load or influence BPF programs, which is not a normal tenant capability.
Who can reach it
Local, and privileged in practice: needs CAP_BPF/CAP_NET_ADMIN to attach a program that populates a sockmap, or a workload already permitted to do so. Not reachable from an unprivileged pod under a default policy.
What to do
Apply the stable kernel fix from the linked git.kernel.org commits or your distribution's backport; this is a host kernel change, so plan a drain and reboot per node. As an interim control, confirm which components on your GPU hosts use sockmap and keep BPF-loading capabilities off tenant workloads. No fixed release version is given in the record.
References
Related entries
- Linux kernel KVM x86 MMU: use-after-free when a vendor module is reloaded after a failed initCVE-2026-68428 · Linux kernel KVM x86 MMU (mmu_destroy_caches)Unscored
- Linux perf/x86/amd/brs - kernel address leakage through Branch Sampling: A user-only branch stack collected via AMDCVE-2026-72237 · Linux perf/x86/amd/brs - kernel address leakage through Branch SamplingUnscored
- Linux BPF verifier: kernel pointers leak through verifier logs for three pseudo ldimm64 sourcesCVE-2026-72402 · Linux kernel BPF verifier (ldimm64 pseudo-pointer masking in verifier logs)Unscored
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A correctness defect in the amdkfd (KFD computeCVE-2026-74353 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Unscored
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): Memory is handed to a consumer without beingCVE-2026-74448 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Unscored
- Linux kernel vhost: stale vring metadata cache lets a reconfigured vring access memory outside its IOTLB mappingCVE-2026-74580 · Linux kernel vhost (vring metadata IOTLB cache)Unscored
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.