What’s Vulnerable › Vulnerabilities
CVE-2024-56682: irqchip/riscv-aplic: Prevent crash when MSI domain is missing
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-28 · updated 2026-06-17
- Weakness: CWE-476
Description
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.
Affected products
- Linux kernel: from 6.10 before 6.12.2 — fixed in 6.12.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1f181d1cda56c2fbe379c5ace1aa1fac6306669e
- https://git.kernel.org/stable/c/285a07810ab3bcedc2bd380ebacbf6b4942a889a
Get alerted when CVE-2024-56682 or the next vulnerability affects your stack