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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在 bpf_timer_cancel_and_free 中,如果两个定时器回调尝试相互取消,或者释放包含定时器的映射元素时,可能发生死锁。

CVSS 7.8 · High EPSS 0.27% · P17

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux b00628b1c7d595ae5b544e059c27b1f5828314b4< 5eaa11c500ed07f505f86cec07d5593a71927e26 affected
b00628b1c7d595ae5b544e059c27b1f5828314b4< 7aa5a19279c3639ae8b758b63f05d0c616a39fa1 affected
b00628b1c7d595ae5b544e059c27b1f5828314b4< a6fcd19d7eac1335eb76bc16b6a66b7f574d1d69 affected
5.15 affected
< 5.15 unaffected
6.6.158≤ 6.6.* unaffected
6.9.10≤ 6.9.* unaffected
6.10≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
bpf: Defer work in bpf_timer_cancel_and_free
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Defer work in bpf_timer_cancel_and_free Currently, the same case as previous patch (two timer callbacks trying to cancel each other) can be invoked through bpf_map_update_elem as well, or more precisely, freeing map elements containing timers. Since this relies on hrtimer_cancel as well, it is prone to the same deadlock situation as the previous patch. It would be sufficient to use hrtimer_try_to_cancel to fix this problem, as the timer cannot be enqueued after async_cancel_and_free. Once async_cancel_and_free has been done, the timer must be reinitialized before it can be armed again. The callback running in parallel trying to arm the timer will fail, and freeing bpf_hrtimer without waiting is sufficient (given kfree_rcu), and bpf_timer_cb will return HRTIMER_NORESTART, preventing the timer from being rearmed again. However, there exists a UAF scenario where the callback arms the timer before entering this function, such that if cancellation fails (due to timer callback invoking this routine, or the target timer callback running concurrently). In such a case, if the timer expiration is significantly far in the future, the RCU grace period expiration happening before it will free the bpf_hrtimer state and along with it the struct hrtimer, that is enqueued. Hence, it is clear cancellation needs to occur after async_cancel_and_free, and yet it cannot be done inline due to deadlock issues. We thus modify bpf_timer_cancel_and_free to defer work to the global workqueue, adding a work_struct alongside rcu_head (both used at _different_ points of time, so can share space). Update existing code comments to reflect the new state of affairs.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于在 bpf_timer_cancel_and_free 中,如果两个定时器回调尝试相互取消,或者释放包含定时器的映射元素时,可能发生死锁。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux b00628b1c7d595ae5b544e059c27b1f5828314b4 ~ 5eaa11c500ed07f505f86cec07d5593a71927e26 -
Linux Linux 5.15 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2024-41045 补丁与修复 (1)

CVE-2024-41045 其他参考 (2)

同批安全公告 · Linux · 2024-07-29 · 共 121 条

CVE-2024-41073 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-41040 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-41081 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-41091 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-41046 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-42083 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-41090 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-41062 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-41070 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41049 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41057 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41060 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41059 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42075 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41064 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42072 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41069 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41086 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42066 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42064 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-41045

暂无评论


发表评论