Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-58088

published medium CVSS 3.1 · 5.5

bpf: Fix deadlock when freeing cgroup storage

Published
12 Mar 2025, 09:41:58 UTC
Updated
11 May 2026, 21:03:04 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < 6ecb9fa14eec5f15d97c84c36896871335f6ddfb · c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < fac674d2bd68f3479f27328626b42d1eebd11fef · c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < fcec95b4ab3e7bc6b2f36e5d59f7e24104ea87f7 · c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < c78f4afbd962f43a3989f45f3ca04300252b19b5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.80 through 6.6.* (unaffected · semver) · 6.12.17 through 6.12.* (unaffected · semver) · 6.13.5 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 libperf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 python3-perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rtla Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rv Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 9 kernel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix deadlock when freeing cgroup storage The following commit bc235cdb423a ("bpf: Prevent deadlock from recursive bpf_task_storage_[get|delete]") first introduced deadlock prevention for fentry/fexit programs attaching on bpf_task_storage helpers. That commit also employed the logic in map free path in its v6 version. Later bpf_cgrp_storage was first introduced in c4bcfb38a95e ("bpf: Implement cgroup storage available to non-cgroup-attached bpf progs") which faces the same issue as bpf_task_storage, instead of its busy counter, NULL was passed to bpf_local_storage_map_free() which opened a window to cause deadlock: <TASK> (acquiring local_storage->lock) _raw_spin_lock_irqsave+0x3d/0x50 bpf_local_storage_update+0xd1/0x460 bpf_cgrp_storage_get+0x109/0x130 bpf_prog_a4d4a370ba857314_cgrp_ptr+0x139/0x170 ? __bpf_prog_enter_recur+0x16/0x80 bpf_trampoline_6442485186+0x43/0xa4 cgroup_storage_ptr+0x9/0x20 (holding local_storage->lock) bpf_selem_unlink_storage_nolock.constprop.0+0x135/0x160 bpf_selem_unlink_storage+0x6f/0x110 bpf_local_storage_map_free+0xa2/0x110 bpf_map_free_deferred+0x5b/0x90 process_one_work+0x17c/0x390 worker_thread+0x251/0x360 kthread+0xd2/0x100 ret_from_fork+0x34/0x50 ret_from_fork_asm+0x1a/0x30 </TASK> Progs: - A: SEC("fentry/cgroup_storage_ptr") - cgid (BPF_MAP_TYPE_HASH) Record the id of the cgroup the current task belonging to in this hash map, using the address of the cgroup as the map key. - cgrpa (BPF_MAP_TYPE_CGRP_STORAGE) If current task is a kworker, lookup the above hash map using function parameter @owner as the key to get its corresponding cgroup id which is then used to get a trusted pointer to the cgroup through bpf_cgroup_from_id(). This trusted pointer can then be passed to bpf_cgrp_storage_get() to finally trigger the deadlock issue. - B: SEC("tp_btf/sys_enter") - cgrpb (BPF_MAP_TYPE_CGRP_STORAGE) The only purpose of this prog is to fill Prog A's hash map by calling bpf_cgrp_storage_get() for as many userspace tasks as possible. Steps to reproduce: - Run A; - while (true) { Run B; Destroy B; } Fix this issue by passing its busy counter to the free procedure so it can be properly incremented before storage/smap locking.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

35

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < 6ecb9fa14eec5f15d97c84c36896871335f6ddfb (affected · git)c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < fac674d2bd68f3479f27328626b42d1eebd11fef (affected · git)c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < fcec95b4ab3e7bc6b2f36e5d59f7e24104ea87f7 (affected · git)c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 to < c78f4afbd962f43a3989f45f3ca04300252b19b5 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.80 through 6.6.* (unaffected · semver)6.12.17 through 6.12.* (unaffected · semver)6.13.5 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-667 CWE-667 Improper Locking (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

bpf: Fix deadlock when freeing cgroup storage

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8bf91a1f31e68841f90d3ee82cadafa287f990756ba81ef1d9813c3ff774ca1a
Ingested
23 Sep 2026, 08:32:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected