# CVE-2024-56760: PCI/MSI: Handle lack of irqdomain gracefully

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-01-06T16:20:40.369Z
- **Modified:** 2026-06-17T08:12:55.740Z

## Who should check

- Anyone running Linux \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< b1f7476e07b93d65a1a3643dcb4a7bed80d4328d; \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< aed157301c659a48f5564cc4568cf0e5c8831af0; \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< a60b990798eb17433d0283788280422b1bd94b18
- Anyone running Linux 6.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

PCI/MSI: Handle lack of irqdomain gracefully

Alexandre observed a warning emitted from pci\_msi\_setup\_msi\_irqs() on a
RISCV platform which does not provide PCI/MSI support:

 WARNING: CPU: 1 PID: 1 at drivers/pci/msi/msi.h:121 pci\_msi\_setup\_msi\_irqs+0x2c/0x32
 \_\_pci\_enable\_msix\_range+0x30c/0x596
 pci\_msi\_setup\_msi\_irqs+0x2c/0x32
 pci\_alloc\_irq\_vectors\_affinity+0xb8/0xe2

RISCV uses hierarchical interrupt domains and correctly does not implement
the legacy fallback. The warning triggers from the legacy fallback stub.

That warning is bogus as the PCI/MSI layer knows whether a PCI/MSI parent
domain is associated with the device or not. There is a check for MSI-X,
which has a legacy assumption. But that legacy fallback assumption is only
valid when legacy support is enabled, but otherwise the check should simply
return -ENOTSUPP.

Loongarch tripped over the same problem and blindly enabled legacy support
without implementing the legacy fallbacks. There are weak implementations
which return an error, so the problem was papered over.

Correct pci\_msi\_domain\_supports() to evaluate the legacy mode and add
the missing supported check into the MSI enable path to complete it.

## Affected and fixed versions

- Linux: \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< b1f7476e07b93d65a1a3643dcb4a7bed80d4328d; \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< aed157301c659a48f5564cc4568cf0e5c8831af0; \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< a60b990798eb17433d0283788280422b1bd94b18 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56760. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56760.md
Affected: Linux >= d2a463b297415ca6dd4d60bb1c867dd7c931587b, < b1f7476e07b93d65a1a3643dcb4a7bed80d4328d; >= d2a463b297415ca6dd4d60bb1c867dd7c931587b, < aed157301c659a48f5564cc4568cf0e5c8831af0; >= d2a463b297415ca6dd4d60bb1c867dd7c931587b, < a60b990798eb17433d0283788280422b1bd94b18; Linux 6.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56760 being exploited?

There is no confirmed exploitation: CVE-2024-56760 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56760?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56760?

Linux \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< b1f7476e07b93d65a1a3643dcb4a7bed80d4328d; \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< aed157301c659a48f5564cc4568cf0e5c8831af0; \>= d2a463b297415ca6dd4d60bb1c867dd7c931587b, \< a60b990798eb17433d0283788280422b1bd94b18; Linux 6.2.

### Is there a fix for CVE-2024-56760?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56760?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b1f7476e07b93d65a1a3643dcb4a7bed80d4328d>
- patch: <https://git.kernel.org/stable/c/aed157301c659a48f5564cc4568cf0e5c8831af0>
- patch: <https://git.kernel.org/stable/c/a60b990798eb17433d0283788280422b1bd94b18>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56760>

HTML: <https://flawdb.com/CVE-2024-56760> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56760>
