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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-12-28T09:46:10.418Z
- Modified: 2026-06-17T08:12:44.123Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ca8df97fe6798afbe395fc4a8e23bac0c7fbd248 before 285a07810ab3bcedc2bd380ebacbf6b4942a889a; from ca8df97fe6798afbe395fc4a8e23bac0c7fbd248 before 1f181d1cda56c2fbe379c5ace1aa1fac6306669e; 6.10 (not affected: before 6.10; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.10 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/285a07810ab3bcedc2bd380ebacbf6b4942a889a> (patch)
- <https://git.kernel.org/stable/c/1f181d1cda56c2fbe379c5ace1aa1fac6306669e> (patch)

## Sources

- CVE List: [CVE-2024-56682](https://www.cve.org/CVERecord?id=CVE-2024-56682), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56682](https://nvd.nist.gov/vuln/detail/CVE-2024-56682), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56682 · Whole record: https://cve.day/CVE-2024-56682.json · Rebuilt by cve.day 2026-11-25T22:58:50.530Z
