{"api_version":"1","generated_at":"2026-06-03T11:06:26+00:00","cve":"CVE-2026-46034","urls":{"html":"https://cve.report/CVE-2026-46034","api":"https://cve.report/api/cve/CVE-2026-46034.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46034","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46034"},"summary":{"title":"vfio/cdx: Fix NULL pointer dereference in interrupt trigger path","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:22","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/338a736aaf15e8ba3635ce20b29af5b8fc15e66a","name":"https://git.kernel.org/stable/c/338a736aaf15e8ba3635ce20b29af5b8fc15e66a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/51bf7638f33aece41cb3f4cbeb942cc52950e329","name":"https://git.kernel.org/stable/c/51bf7638f33aece41cb3f4cbeb942cc52950e329","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5ea5880764cbb164afb17a62e76ca75dc371409d","name":"https://git.kernel.org/stable/c/5ea5880764cbb164afb17a62e76ca75dc371409d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d6c349c9823eb819fed8b537b088cf38126018c","name":"https://git.kernel.org/stable/c/5d6c349c9823eb819fed8b537b088cf38126018c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46034","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46034","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 848e447e000c41894ff931dc7c004fd42c8840f8 51bf7638f33aece41cb3f4cbeb942cc52950e329 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 848e447e000c41894ff931dc7c004fd42c8840f8 5d6c349c9823eb819fed8b537b088cf38126018c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 848e447e000c41894ff931dc7c004fd42c8840f8 338a736aaf15e8ba3635ce20b29af5b8fc15e66a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 848e447e000c41894ff931dc7c004fd42c8840f8 5ea5880764cbb164afb17a62e76ca75dc371409d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.86 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46034","cve":"CVE-2026-46034","epss":"0.000180000","percentile":"0.048460000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/vfio/cdx/intr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"51bf7638f33aece41cb3f4cbeb942cc52950e329","status":"affected","version":"848e447e000c41894ff931dc7c004fd42c8840f8","versionType":"git"},{"lessThan":"5d6c349c9823eb819fed8b537b088cf38126018c","status":"affected","version":"848e447e000c41894ff931dc7c004fd42c8840f8","versionType":"git"},{"lessThan":"338a736aaf15e8ba3635ce20b29af5b8fc15e66a","status":"affected","version":"848e447e000c41894ff931dc7c004fd42c8840f8","versionType":"git"},{"lessThan":"5ea5880764cbb164afb17a62e76ca75dc371409d","status":"affected","version":"848e447e000c41894ff931dc7c004fd42c8840f8","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/vfio/cdx/intr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.10"},{"lessThan":"6.10","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.86","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.27","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.86","versionStartIncluding":"6.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.27","versionStartIncluding":"6.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.4","versionStartIncluding":"6.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"6.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:56:43.389Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/51bf7638f33aece41cb3f4cbeb942cc52950e329"},{"url":"https://git.kernel.org/stable/c/5d6c349c9823eb819fed8b537b088cf38126018c"},{"url":"https://git.kernel.org/stable/c/338a736aaf15e8ba3635ce20b29af5b8fc15e66a"},{"url":"https://git.kernel.org/stable/c/5ea5880764cbb164afb17a62e76ca75dc371409d"}],"title":"vfio/cdx: Fix NULL pointer dereference in interrupt trigger path","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46034","datePublished":"2026-05-27T12:56:43.389Z","dateReserved":"2026-05-13T15:03:33.093Z","dateUpdated":"2026-05-27T12:56:43.389Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:22","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46034","Ordinal":"1","Title":"vfio/cdx: Fix NULL pointer dereference in interrupt trigger path","CVE":"CVE-2026-46034","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46034","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"vfio/cdx: Fix NULL pointer dereference in interrupt trigger path"}]}}}