Bug 2334674 (CVE-2024-56682) - CVE-2024-56682 kernel: irqchip/riscv-aplic: Prevent crash when MSI domain is missing
Summary: CVE-2024-56682 kernel: irqchip/riscv-aplic: Prevent crash when MSI domain is ...
Keywords:
Status: NEW
Alias: CVE-2024-56682
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-28 10:01 UTC by OSIDB Bzimport
Modified: 2025-01-21 12:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-28 10:01:48 UTC
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.

Comment 1 Avinash Hanwate 2024-12-29 06:57:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122833-CVE-2024-56682-3219@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.