一、 漏洞 CVE-2024-42140 基础信息
漏洞标题
RISC-V:kexec:在kexec崩溃路径中避免死锁
来源:AIGC 神龙大模型
漏洞描述信息
在Linux内核中,已解决以下漏洞: riscv:kexec:在kexec崩溃路径中避免死锁 如果在中断上下文中调用kexec崩溃代码,那么machine_kexec_mask_interrupts()函数将在尝试获取irqdesc自旋锁并随后在irq_set_irqchip_state()函数中禁用irqchip时触发死锁。 与arm64不同,riscv只需要irq_eoi处理器来完成EOI,而保留irq_set_irqchip_state()只会留下这种可能的死锁而没有任何用处。因此,我们简单地将其删除。
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
来源:AIGC 神龙大模型
漏洞类别
加锁机制不恰当
来源:AIGC 神龙大模型
漏洞标题
riscv: kexec: Avoid deadlock in kexec crash path
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: riscv: kexec: Avoid deadlock in kexec crash path If the kexec crash code is called in the interrupt context, the machine_kexec_mask_interrupts() function will trigger a deadlock while trying to acquire the irqdesc spinlock and then deactivate irqchip in irq_set_irqchip_state() function. Unlike arm64, riscv only requires irq_eoi handler to complete EOI and keeping irq_set_irqchip_state() will only leave this possible deadlock without any use. So we simply remove it.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于riscv:kexec模块中如果kexec crash代码某些位置被调用,machine_kexec_mask_interrupts()函数在尝试获取irqdesc自旋锁时将触发死锁。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2024-42140 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2024-42140 的情报信息