CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

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.

Classification

CVE ID: CVE-2024-56682

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.48% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/285a07810ab3bcedc2bd380ebacbf6b4942a889a
https://git.kernel.org/stable/c/1f181d1cda56c2fbe379c5ace1aa1fac6306669e

Timeline