Linux Kernel BPF Cgroup Storage Flaw Enables Local Deadlock
Breach & Incident Intelligence · 3 sources · Updated 3mo ago · First seen Nov 11, 2025

CVE-2024-58088 is a Linux kernel BPF flaw that lets a sufficiently privileged local attacker cause a system deadlock while cgroup local storage is being freed. Introduced in kernel 6.2, the affected BPF_MAP_TYPE_CGRP_STORAGE cleanup path passed a null busy counter to bpf_local_storage_map_free(), enabling a BPF program invoked during cleanup to recursively access storage and attempt to reacquire an already held local-storage lock. Repeated creation and destruction of crafted BPF programs can leave a worker thread deadlocked, causing an availability impact.
The issue is fixed upstream in Linux 6.6.80, 6.12.17, 6.13.5, and 6.14-rc4 and later; administrators should deploy a current stable kernel rather than cherry-pick the patch. Red Hat rates the issue Moderate (CVSS 4.4) and has issued fixes for RHEL 9 and RHEL 10 through RHSA-2025:20518 and RHSA-2025:20095; RHEL 9 kernel-rt is affected, while RHEL 6, 7, 8 and their listed real-time kernel variants lack the vulnerable code.


