{"id":"CVE-2026-46034","published":"2026-05-27T12:56:43Z","modified":"2026-06-14T17:49:29Z","title":"vfio/cdx: Fix NULL pointer dereference in interrupt trigger path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/cdx: Fix NULL pointer dereference in interrupt trigger path\n\nAdd validation to ensure MSI is configured before accessing cdx_irqs\narray in vfio_cdx_set_msi_trigger(). Without this check, userspace\ncan trigger a NULL pointer dereference by calling VFIO_DEVICE_SET_IRQS\nwith VFIO_IRQ_SET_DATA_BOOL or VFIO_IRQ_SET_DATA_NONE flags before\never setting up interrupts via VFIO_IRQ_SET_DATA_EVENTFD.\n\nThe vfio_cdx_msi_enable() function allocates the cdx_irqs array and\nsets config_msi to 1 only when called through the EVENTFD path. The\ntrigger loop (for DATA_BOOL/DATA_NONE) assumed this had already been\ndone, but there was no enforcement of this call ordering.\n\nThis matches the protection used in the PCI VFIO driver where\nvfio_pci_set_msi_trigger() checks irq_is() before the trigger loop.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00135,"percentile":0.02959,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/51bf7638f33aece41cb3f4cbeb942cc52950e329","tags":[]},{"url":"https://git.kernel.org/stable/c/5d6c349c9823eb819fed8b537b088cf38126018c","tags":[]},{"url":"https://git.kernel.org/stable/c/338a736aaf15e8ba3635ce20b29af5b8fc15e66a","tags":[]},{"url":"https://git.kernel.org/stable/c/5ea5880764cbb164afb17a62e76ca75dc371409d","tags":[]}],"priority":{"score":0.6,"factors":[{"name":"EPSS percentile","points":0.59}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 848e447e000c41894ff931dc7c004fd42c8840f8, < 51bf7638f33aece41cb3f4cbeb942cc52950e329",">= 848e447e000c41894ff931dc7c004fd42c8840f8, < 5d6c349c9823eb819fed8b537b088cf38126018c",">= 848e447e000c41894ff931dc7c004fd42c8840f8, < 338a736aaf15e8ba3635ce20b29af5b8fc15e66a",">= 848e447e000c41894ff931dc7c004fd42c8840f8, < 5ea5880764cbb164afb17a62e76ca75dc371409d"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"euvd":{"id":"EUVD-2026-32415","exploited":false,"provenance":"source"}}