CVE-2024-56682

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

State
Published
Severity
5.5 Medium
Published
Dec 28, 2024
Updated
May 11, 2026
Reserved
Dec 27, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • ca8df97fe6798afbe395fc4a8e23bac0c7fbd248 to before 285a07810ab3bcedc2bd380ebacbf6b4942a889aAffected
  • ca8df97fe6798afbe395fc4a8e23bac0c7fbd248 to before 1f181d1cda56c2fbe379c5ace1aa1fac6306669eAffected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.