{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6baef150380d561a4d695a6be4fc509821c23611"
            },
            {
              "fixed": "9bab98443c905ab6d07c5ad7ce84be18abc5b65f"
            },
            {
              "fixed": "829bf55127052c599973112f90bbf27716fd74d9"
            },
            {
              "fixed": "8edacd5675d06de0aaa197ebe4efa1eabe43f46e"
            },
            {
              "fixed": "3aae32f60ab783c2d64c7492180af30cdf4130fb"
            },
            {
              "fixed": "81558579a158aa87de4a359e47305a180ccd56bb"
            },
            {
              "fixed": "d5b7d90566b9de60ffb4f434d535ae0d05de9417"
            },
            {
              "fixed": "308443d693d19cde3fa39f51a2cccd2b9975509b"
            },
            {
              "fixed": "23c6fc62e754f8bc412ceb5c0d9aaa14f2c9ff31"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.30"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139407.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: pcmmio: validate the IRQ supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit-\u003eoptions[1] is a number chosen by userspace. pcmmio passes it to\nrequest_irq() without checking it first, which lets an interrupt owned by\nanother irqdomain -- a PCI device's IO-APIC GSI, for instance -- be\nclaimed for this board. When the owner of that interrupt is later\nreleased the descriptor is freed while this driver's handler is still\ninstalled on it.\n\nThe board's interrupt is routed in software rather than jumpered, and the\ndriver notes that \"any IRQ from 1-15 is OK\", so the ISA range is exactly\nthe right bound.\n\nBound the value before requesting it, as das16m1.c already does. An\nout-of-range value is ignored rather than rejected, so the board still\nattaches without interrupt support, exactly as it does today when\nrequest_irq() fails.",
  "id": "CVE-2026-139407",
  "modified": "2026-11-30T14:45:16.608973499Z",
  "published": "2026-11-30T13:34:28.248Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/23c6fc62e754f8bc412ceb5c0d9aaa14f2c9ff31"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/308443d693d19cde3fa39f51a2cccd2b9975509b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3aae32f60ab783c2d64c7492180af30cdf4130fb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/81558579a158aa87de4a359e47305a180ccd56bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/829bf55127052c599973112f90bbf27716fd74d9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8edacd5675d06de0aaa197ebe4efa1eabe43f46e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9bab98443c905ab6d07c5ad7ce84be18abc5b65f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d5b7d90566b9de60ffb4f434d535ae0d05de9417"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139407.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139407"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "comedi: pcmmio: validate the IRQ supplied by userspace"
}