CVE-2026-139409

comedi: dt2814: validate the IRQ supplied by userspace

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

comedi: dt2814: validate the IRQ supplied by userspace

comedi boards are configured through the COMEDI_DEVCONFIG ioctl, so
it->options[1] is a number chosen by userspace. dt2814 passes it to
request_irq() without checking it first, which lets an interrupt owned by
another irqdomain -- a PCI device's IO-APIC GSI, for instance -- be
claimed for this board. When the owner of that interrupt is later
released the descriptor is freed while this driver's handler is still
installed on it.

Every interrupt this board can assert is a legacy ISA one, so the ISA
range is the right bound; it is also sufficient, because
mp_chip_data->isa_irq is set only by alloc_isa_irq_from_domain() and
mp_unmap_irq() returns early when it is set.

Bound the value before requesting it, as das16m1.c already does. An
out-of-range value is ignored rather than rejected, so the board still
attaches without interrupt support, exactly as it does today when
request_irq() fails.

Analysis

AI-generated

Technical impact

The dt2814 driver for COMEDI boards fails to validate the IRQ value supplied by userspace through the COMEDI_DEVCONFIG ioctl. When an attacker supplies an out‑of‑range or non‑ISA IRQ, the driver calls request_irq() unrestrained. This can cause the driver to steal an interrupt owned by another device such as a PCI device’s IO‑APIC GSI. The stolen IRQ descriptor is later released by that device, yet the dt2814 handler remains installed on the descriptor, leading to undefined kernel behaviour and a window for the attacker to execute code with kernel privileges. Thus the primary impact is local privilege escalation, allowing an attacker to gain full kernel control on a system where the vulnerable driver is loaded.

Affected Systems

Affected only on Linux operating systems that include the Linux kernel with the dt2814 COMEDI driver. No specific kernel version or patch level is listed in the CVE data, so all kernel releases that ship the unpatched dt2814 driver may be vulnerable.

Risk and Exploitability

There is no EPSS value available for this vulnerability and it is not listed in CISA’s KEV catalog. The issue arises from a lack of input validation before an untrusted ioctl is called, which is a high‑severity flaw that can enable privilege escalation on a local system. Because it requires a userspace process that can access the COMEDI ioctl, an attacker would need at least low‑privilege or trusted process access to trigger it. Once the flaw is exercised, the driver’s faulty IRQ handling gives the attacker direct kernel execution control, which is highly dangerous. The exploit would involve crafting a payload to invoke the ioctl with a malicious IRQ value and then triggering the reclaimed interrupt.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the patch correcting IRQ validation for the dt2814 driver.
  • If the dt2814 board is not required, unload or disable the comedi driver to prevent the ioctl from accepting user‑controlled IRQ values.
  • Restrict access to the comedi device node so that only trusted processes can invoke the COMEDI_DEVCONFIG ioctl (e.g., adjust /dev/comedi permissions or use SELinux/MAC policies).

Generated by OpenCVE AI on December 1, 2026 at 06:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: comedi: dt2814: validate the IRQ supplied by userspace comedi boards are configured through the COMEDI_DEVCONFIG ioctl, so it->options[1] is a number chosen by userspace. dt2814 passes it to request_irq() without checking it first, which lets an interrupt owned by another irqdomain -- a PCI device's IO-APIC GSI, for instance -- be claimed for this board. When the owner of that interrupt is later released the descriptor is freed while this driver's handler is still installed on it. Every interrupt this board can assert is a legacy ISA one, so the ISA range is the right bound; it is also sufficient, because mp_chip_data->isa_irq is set only by alloc_isa_irq_from_domain() and mp_unmap_irq() returns early when it is set. Bound the value before requesting it, as das16m1.c already does. An out-of-range value is ignored rather than rejected, so the board still attaches without interrupt support, exactly as it does today when request_irq() fails.
Title comedi: dt2814: validate the IRQ supplied by userspace
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:34 PM