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:10Z
Modified
2025-10-17T19:13:14.536371Z
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.

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

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.9
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.12.2