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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 x86/bhi 模块BHI缓解机制在处理SYSENTER调用时存在问题。当设置了TF标志位时,entry_SYSENTER_compat在清除TF标志位之前使用了CLEAR_BRANCH_HISTORY,导致DB处理器发出警告。

AI 预测 5.5 利用难度: 中等 EPSS 0.22% · P12

可能的 ATT&CK 技术 1 AI

T1498 · Network Denial of Service

影响版本矩阵 17

厂商产品 版本范围状态
Linux Linux bd53ec80f21839cfd4d852a6088279d602d67e5b< db56615e96c439e13783d7715330e824b4fd4b84 affected
07dbb10f153f483e8249acebdffedf922e2ec2e1< a765679defe1dc1b8fa01928a6ad6361e72a1364 affected
eb36b0dce2138581bc6b5e39d0273cb4c96ded81< dae3543db8f0cf8ac1a198c3bb4b6e3c24d576cf affected
7390db8aea0d64e9deb28b8e1ce716f5020c7ee5< 08518d48e5b744620524f0acd7c26c19bda7f513 affected
7390db8aea0d64e9deb28b8e1ce716f5020c7ee5< ac8b270b61d48fcc61f052097777e3b5e11591e0 affected
8f51637712e4da5be410a1666f8aee0d86eef898 affected
5.15.154< 5.15.163 affected
6.1.85< 6.1.100 affected
… +9 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
x86/bhi: Avoid warning in #DB handler due to BHI mitigation
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: x86/bhi: Avoid warning in #DB handler due to BHI mitigation When BHI mitigation is enabled, if SYSENTER is invoked with the TF flag set then entry_SYSENTER_compat() uses CLEAR_BRANCH_HISTORY and calls the clear_bhb_loop() before the TF flag is cleared. This causes the #DB handler (exc_debug_kernel()) to issue a warning because single-step is used outside the entry_SYSENTER_compat() function. To address this issue, entry_SYSENTER_compat() should use CLEAR_BRANCH_HISTORY after making sure the TF flag is cleared. The problem can be reproduced with the following sequence: $ cat sysenter_step.c int main() { asm("pushf; pop %ax; bts $8,%ax; push %ax; popf; sysenter"); } $ gcc -o sysenter_step sysenter_step.c $ ./sysenter_step Segmentation fault (core dumped) The program is expected to crash, and the #DB handler will issue a warning. Kernel log: WARNING: CPU: 27 PID: 7000 at arch/x86/kernel/traps.c:1009 exc_debug_kernel+0xd2/0x160 ... RIP: 0010:exc_debug_kernel+0xd2/0x160 ... Call Trace: <#DB> ? show_regs+0x68/0x80 ? __warn+0x8c/0x140 ? exc_debug_kernel+0xd2/0x160 ? report_bug+0x175/0x1a0 ? handle_bug+0x44/0x90 ? exc_invalid_op+0x1c/0x70 ? asm_exc_invalid_op+0x1f/0x30 ? exc_debug_kernel+0xd2/0x160 exc_debug+0x43/0x50 asm_exc_debug+0x1e/0x40 RIP: 0010:clear_bhb_loop+0x0/0xb0 ... </#DB> <TASK> ? entry_SYSENTER_compat_after_hwframe+0x6e/0x8d </TASK> [ bp: Massage commit message. ]
来源: 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 存在安全漏洞,该漏洞源于 x86/bhi 模块BHI缓解机制在处理SYSENTER调用时存在问题。当设置了TF标志位时,entry_SYSENTER_compat在清除TF标志位之前使用了CLEAR_BRANCH_HISTORY,导致DB处理器发出警告。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux bd53ec80f21839cfd4d852a6088279d602d67e5b ~ db56615e96c439e13783d7715330e824b4fd4b84 -
Linux Linux 6.9 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2024-42240 补丁与修复 (5)

同批安全公告 · Linux · 2024-08-07 · 共 19 条

CVE-2024-42232 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-42249 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42234 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42233 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42235 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42236 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42250 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-42247 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-42242 Linux kernel 安全漏洞
CVE-2024-42237 Linux kernel 安全漏洞
CVE-2024-42238 Linux kernel 安全漏洞
CVE-2024-42239 Linux kernel 安全漏洞
CVE-2024-42241 Linux kernel 安全漏洞
CVE-2024-42244 Linux kernel 安全漏洞
CVE-2024-42243 Linux kernel 安全漏洞
CVE-2024-42245 Linux kernel 安全漏洞
CVE-2024-42246 Linux kernel 安全漏洞
CVE-2024-42248 Linux kernel 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-42240

暂无评论


发表评论