{"id":"CVE-2024-56760","published":"2025-01-06T16:20:40Z","modified":"2026-05-11T20:58:33Z","title":"PCI/MSI: Handle lack of irqdomain gracefully","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/MSI: Handle lack of irqdomain gracefully\n\nAlexandre observed a warning emitted from pci_msi_setup_msi_irqs() on a\nRISCV platform which does not provide PCI/MSI support:\n\n WARNING: CPU: 1 PID: 1 at drivers/pci/msi/msi.h:121 pci_msi_setup_msi_irqs+0x2c/0x32\n __pci_enable_msix_range+0x30c/0x596\n pci_msi_setup_msi_irqs+0x2c/0x32\n pci_alloc_irq_vectors_affinity+0xb8/0xe2\n\nRISCV uses hierarchical interrupt domains and correctly does not implement\nthe legacy fallback. The warning triggers from the legacy fallback stub.\n\nThat warning is bogus as the PCI/MSI layer knows whether a PCI/MSI parent\ndomain is associated with the device or not. There is a check for MSI-X,\nwhich has a legacy assumption. But that legacy fallback assumption is only\nvalid when legacy support is enabled, but otherwise the check should simply\nreturn -ENOTSUPP.\n\nLoongarch tripped over the same problem and blindly enabled legacy support\nwithout implementing the legacy fallbacks. There are weak implementations\nwhich return an error, so the problem was papered over.\n\nCorrect pci_msi_domain_supports() to evaluate the legacy mode and add\nthe missing supported check into the MSI enable path to complete it.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.003,"percentile":0.15068,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b1f7476e07b93d65a1a3643dcb4a7bed80d4328d","tags":[]},{"url":"https://git.kernel.org/stable/c/aed157301c659a48f5564cc4568cf0e5c8831af0","tags":[]},{"url":"https://git.kernel.org/stable/c/a60b990798eb17433d0283788280422b1bd94b18","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.01},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d2a463b297415ca6dd4d60bb1c867dd7c931587b, < b1f7476e07b93d65a1a3643dcb4a7bed80d4328d",">= d2a463b297415ca6dd4d60bb1c867dd7c931587b, < aed157301c659a48f5564cc4568cf0e5c8831af0",">= d2a463b297415ca6dd4d60bb1c867dd7c931587b, < a60b990798eb17433d0283788280422b1bd94b18"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:57:01.453148Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53403","exploited":false,"provenance":"source"}}