• 公告ID (KylinSec-SA-2024-4586)

摘要:

In the Linux kernel, the following vulnerability has been resolved:

irqchip/riscv-aplic: Prevent crash when MSI domain is missing

If the APLIC driver is probed before the IMSIC driver, the parent MSI
domain will be missing, which causes a NULL pointer dereference in
msi_create_device_irq_domain().

Avoid this by deferring probe until the parent MSI domain is available. Use
dev_err_probe() to avoid printing an error message when returning
-EPROBE_DEFER.

安全等级: Low

公告ID: KylinSec-SA-2024-4586

发布日期: 2025年1月15日

关联CVE: CVE-2024-56682  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:

irqchip/riscv-aplic: Prevent crash when MSI domain is missing

If the APLIC driver is probed before the IMSIC driver, the parent MSI
domain will be missing, which causes a NULL pointer dereference in
msi_create_device_irq_domain().

Avoid this by deferring probe until the parent MSI domain is available. Use
dev_err_probe() to avoid printing an error message when returning
-EPROBE_DEFER.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-56682 KY3.4-5 kernel Unaffected
CVE-2024-56682 KY3.5.3 kernel Unaffected
CVE-2024-56682 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-4585 下一篇:KylinSec-SA-2024-4587