{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "848e447e000c41894ff931dc7c004fd42c8840f8"
            },
            {
              "fixed": "51bf7638f33aece41cb3f4cbeb942cc52950e329"
            },
            {
              "fixed": "5d6c349c9823eb819fed8b537b088cf38126018c"
            },
            {
              "fixed": "338a736aaf15e8ba3635ce20b29af5b8fc15e66a"
            },
            {
              "fixed": "5ea5880764cbb164afb17a62e76ca75dc371409d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.10.0"
            },
            {
              "fixed": "6.12.86"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.27"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46034.json"
  },
  "details": "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.",
  "id": "CVE-2026-46034",
  "modified": "2026-07-08T05:36:55.666941919Z",
  "published": "2026-05-27T12:56:43.389Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/338a736aaf15e8ba3635ce20b29af5b8fc15e66a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/51bf7638f33aece41cb3f4cbeb942cc52950e329"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5d6c349c9823eb819fed8b537b088cf38126018c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5ea5880764cbb164afb17a62e76ca75dc371409d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46034.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46034"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "vfio/cdx: Fix NULL pointer dereference in interrupt trigger path"
}