{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6baef150380d561a4d695a6be4fc509821c23611"
            },
            {
              "fixed": "afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07"
            },
            {
              "fixed": "df654fe0296d16dadcfa47a1a27e0b030ce1a307"
            },
            {
              "fixed": "86f983a4e084ed3375174fc6cc041cbda0c215e6"
            },
            {
              "fixed": "f73fd5263b3b9c3f1b0281f174666e57e122e976"
            },
            {
              "fixed": "7360e37cd04b545e57230a3c8c2a252689c71161"
            },
            {
              "fixed": "45b3c79f58c0c211192eedd69b4006636aa5a21a"
            },
            {
              "fixed": "565a33552d3b2b2b203d0c4d2b01200dcf07854d"
            },
            {
              "fixed": "9c325b21bba99e597771137fc11b9427c86618d8"
            }
          ],
          "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-139406.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: pcmuio: validate the IRQs supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit-\u003eoptions[1] is a number chosen by userspace. pcmuio 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\nEvery interrupt this board can assert is a legacy ISA one, so the ISA\nrange is the right bound; it is also sufficient, because\nmp_chip_data-\u003eisa_irq is set only by alloc_isa_irq_from_domain() and\nmp_unmap_irq() returns early when it is set.\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.\n\nThis board takes two interrupts, one per ASIC, so options[1] and\noptions[2] both need the check. The existing options[2] == dev-\u003eirq case\nis left alone: it covers both ASICs sharing one interrupt and neither\nhaving one, and by then options[1] has already been validated.",
  "id": "CVE-2026-139406",
  "modified": "2026-12-01T20:46:01.961761752Z",
  "published": "2026-11-30T13:34:27.722Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/45b3c79f58c0c211192eedd69b4006636aa5a21a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/565a33552d3b2b2b203d0c4d2b01200dcf07854d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7360e37cd04b545e57230a3c8c2a252689c71161"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/86f983a4e084ed3375174fc6cc041cbda0c215e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c325b21bba99e597771137fc11b9427c86618d8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/df654fe0296d16dadcfa47a1a27e0b030ce1a307"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f73fd5263b3b9c3f1b0281f174666e57e122e976"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139406.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139406"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "comedi: pcmuio: validate the IRQs supplied by userspace"
}