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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 5.5 利用难度: 困难 EPSS 0.20% · P10

影响版本矩阵 6

厂商产品版本范围状态
LinuxLinuxc2a658d419246108c9bf065ec347355de5ba8a05< 5b16d904e910183181b9d90efa957c787a8ac91baffected
c2a658d419246108c9bf065ec347355de5ba8a05< c27fa53b858b4ee6552a719aa599c250cf98a586affected
6.8affected
< 6.8unaffected
6.8.5≤ 6.8.*unaffected
6.9≤ *unaffected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
riscv: Fix vector state restore in rt_sigreturn()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: riscv: Fix vector state restore in rt_sigreturn() The RISC-V Vector specification states in "Appendix D: Calling Convention for Vector State" [1] that "Executing a system call causes all caller-saved vector registers (v0-v31, vl, vtype) and vstart to become unspecified.". In the RISC-V kernel this is called "discarding the vstate". Returning from a signal handler via the rt_sigreturn() syscall, vector discard is also performed. However, this is not an issue since the vector state should be restored from the sigcontext, and therefore not care about the vector discard. The "live state" is the actual vector register in the running context, and the "vstate" is the vector state of the task. A dirty live state, means that the vstate and live state are not in synch. When vectorized user_from_copy() was introduced, an bug sneaked in at the restoration code, related to the discard of the live state. An example when this go wrong: 1. A userland application is executing vector code 2. The application receives a signal, and the signal handler is entered. 3. The application returns from the signal handler, using the rt_sigreturn() syscall. 4. The live vector state is discarded upon entering the rt_sigreturn(), and the live state is marked as "dirty", indicating that the live state need to be synchronized with the current vstate. 5. rt_sigreturn() restores the vstate, except the Vector registers, from the sigcontext 6. rt_sigreturn() restores the Vector registers, from the sigcontext, and now the vectorized user_from_copy() is used. The dirty live state from the discard is saved to the vstate, making the vstate corrupt. 7. rt_sigreturn() returns to the application, which crashes due to corrupted vstate. Note that the vectorized user_from_copy() is invoked depending on the value of CONFIG_RISCV_ISA_V_UCOPY_THRESHOLD. Default is 768, which means that vlen has to be larger than 128b for this bug to trigger. The fix is simply to mark the live state as non-dirty/clean prior performing the vstate restore.
来源: 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存在安全漏洞。攻击者利用该漏洞导致内核崩溃。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux c2a658d419246108c9bf065ec347355de5ba8a05 ~ 5b16d904e910183181b9d90efa957c787a8ac91b -
LinuxLinux 6.8 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · Linux · 2024-05-19 · 共 82 条

CVE-2024-358619.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358629.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358639.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358649.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358659.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358849.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358709.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358699.8 CRITICALLinux kernel 安全漏洞
CVE-2024-359399.3 CRITICALLinux kernel 安全漏洞
CVE-2024-358878.8 HIGHLinux kernel 安全漏洞
CVE-2024-359158.8 HIGHLinux kernel 安全漏洞
CVE-2024-358898.6 HIGHLinux kernel 安全漏洞
CVE-2024-358758.4 HIGHLinux kernel 安全漏洞
CVE-2024-359378.1 HIGHLinux kernel 安全漏洞
CVE-2024-359197.8 HIGHLinux kernel 安全漏洞
CVE-2024-359317.8 HIGHLinux kernel 安全漏洞
CVE-2024-358907.8 HIGHLinux kernel 安全漏洞
CVE-2024-359207.8 HIGHLinux kernel 安全漏洞
CVE-2024-359217.8 HIGHLinux kernel 安全漏洞
CVE-2024-358977.8 HIGHLinux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-35873

暂无评论


发表评论