目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-58088— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于释放cgroup存储时可能导致死锁。

AI 预测 5.5 利用难度: 中等 EPSS 0.18% · P7

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux c4bcfb38a95edb1021a53f2d0356a78120ecfbe4< 6ecb9fa14eec5f15d97c84c36896871335f6ddfb affected
c4bcfb38a95edb1021a53f2d0356a78120ecfbe4< fac674d2bd68f3479f27328626b42d1eebd11fef affected
c4bcfb38a95edb1021a53f2d0356a78120ecfbe4< fcec95b4ab3e7bc6b2f36e5d59f7e24104ea87f7 affected
c4bcfb38a95edb1021a53f2d0356a78120ecfbe4< c78f4afbd962f43a3989f45f3ca04300252b19b5 affected
6.2 affected
< 6.2 unaffected
6.6.80≤ 6.6.* unaffected
6.12.17≤ 6.12.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-58088 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
bpf: Fix deadlock when freeing cgroup storage
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于释放cgroup存储时可能导致死锁。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux c4bcfb38a95edb1021a53f2d0356a78120ecfbe4 ~ 6ecb9fa14eec5f15d97c84c36896871335f6ddfb -
Linux Linux 6.2 -

二、漏洞 CVE-2024-58088 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-58088 的情报信息

请登录查看更多情报信息。

CVE-2024-58088 其他参考 (3)

同批安全公告 · Linux · 2025-03-12 · 共 26 条

CVE-2024-58087 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-21850 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-21855 8.6 HIGH Linux kernel 安全漏洞
CVE-2024-58089 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-21858 7.8 HIGH Linux kernel 资源管理错误漏洞
CVE-2025-21851 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-21864 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-21844 7.5 HIGH Linux kernel 安全漏洞
CVE-2025-21852 Linux kernel 安全漏洞
CVE-2025-21865 Linux kernel 安全漏洞
CVE-2025-21845 Linux kernel 安全漏洞
CVE-2025-21846 Linux kernel 安全漏洞
CVE-2025-21848 Linux kernel 安全漏洞
CVE-2025-21847 Linux kernel 安全漏洞
CVE-2025-21849 Linux kernel 安全漏洞
CVE-2025-21863 Linux kernel 安全漏洞
CVE-2025-21853 Linux kernel 安全漏洞
CVE-2025-21866 Linux kernel 安全漏洞
CVE-2025-21854 Linux kernel 安全漏洞
CVE-2025-21856 Linux kernel 安全漏洞

显示前 20 条,共 26 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-58088

暂无评论


发表评论