CVE-2024-56682

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

Medium · published December 28, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
13.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00231 · 13.1th percentile
Published
2024-12-28T09:46Z
EPSS history
Timeline
  • 28 DEC 09:46Z
    irqchip/riscv-aplic: Prevent crash when MSI domain is missing
    cvelistv5