CVE-2024-56682

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56682
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56682.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56682
Downstream
Published
2024-12-28T09:46:10.418Z
Modified
2025-11-27T02:33:12.772534Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
irqchip/riscv-aplic: Prevent crash when MSI domain is missing
Details

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 msicreatedeviceirqdomain().

Avoid this by deferring probe until the parent MSI domain is available. Use deverrprobe() to avoid printing an error message when returning -EPROBE_DEFER.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/56xxx/CVE-2024-56682.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ca8df97fe6798afbe395fc4a8e23bac0c7fbd248
Fixed
285a07810ab3bcedc2bd380ebacbf6b4942a889a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ca8df97fe6798afbe395fc4a8e23bac0c7fbd248
Fixed
1f181d1cda56c2fbe379c5ace1aa1fac6306669e

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.12.2