Skip to main content
Mallory
← Back to News
operational-disruptionprivilege-escalation-methodwidely-deployed-product-advisory

Linux Kernel BPF Cgroup Storage Flaw Enables Local Deadlock

Breach & Incident Intelligence · 3 sources · Updated 3mo ago · First seen Nov 11, 2025

Linux Kernel BPF Cgroup Storage Flaw Enables Local Deadlock

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.

Is this vendor in your chain?See attribution, scope, and your downstream exposure.
Check the blast radius
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Nov 11, 2025
  1. Nov 11, 20251y ago

    Red Hat releases RHEL 9 and RHEL 10 kernel fixes

    Red Hat released RHSA-2025:20095 for RHEL 10 and RHSA-2025:20518 for the standard RHEL 9 kernel, addressing CVE-2024-58088. RHEL 9 kernel-rt remained listed as affected without an identified erratum.

    CVE-2024-58088 - Red Hat Customer Portal
  2. Reported Mar 12, 20252y ago

    Linux kernel fixes cgroup-storage deadlock in stable releases

    The remediation passes the cgroup-storage busy counter to the map-free procedure before storage and map locking. Fixes were included in Linux kernel versions 6.6.80, 6.12.17, 6.13.5, and 6.14-rc4.

    CVE-2024-58088: bpf: Fix deadlock when freeing cgroup storage
  3. Reported Mar 12, 20252y ago

    Linux kernel CVE team assigns CVE-2024-58088

    The Linux kernel CVE team assigned CVE-2024-58088 to the BPF cgroup-storage cleanup deadlock issue. The flaw can be triggered by BPF programs that recursively access cgroup storage while local-storage locking is in progress.

    CVE-2024-58088: bpf: Fix deadlock when freeing cgroup storage
  4. Reported Mar 12, 20252y ago

    Cgroup-storage support introduces BPF deadlock flaw in Linux 6.2

    Linux kernel 6.2 introduced cgroup storage for non-cgroup-attached BPF programs through commit c4bcfb38a95e. Its cgroup-storage cleanup path passed a NULL busy counter to bpf_local_storage_map_free(), creating a locking window that could lead to deadlock.

    CVE-2024-58088: bpf: Fix deadlock when freeing cgroup storage
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Linux Kernel
Do you run this?See attribution, scope, and whether this vendor sits anywhere in your supply chain.
Get the Full Incident Picture
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.