Executive summary
CVE-2026-139407 affects the Comedi pcmmio driver in the Linux kernel. The NVD record, published on 2026-11-30, describes a missing bounds check on an IRQ value selected through the COMEDI_DEVCONFIG ioctl. Instead of limiting the value to the ISA IRQ range used by the board, the driver passed it directly to request_irq(), allowing a request that could collide with an interrupt managed by another IRQ domain.
The practical risk is low based on the supplied information. The issue is local rather than remote, requires access to the Comedi configuration interface, and depends on interaction with another interrupt owner and its later release. No CVSS vector, public exploitation, exploit code, exploitation campaign, or CISA KEV listing is recorded in the supplied intelligence.
Vulnerability details
Comedi boards configured through COMEDI_DEVCONFIG can place a userspace-selected number in it->options[1]. The pcmmio driver treated that value as an IRQ and supplied it to request_irq() without first checking whether it belonged to the driver's permitted ISA range.
The board's interrupt is selected in software rather than through a physical jumper. According to the advisory, IRQs 1-15 are appropriate for this hardware. A value outside that range should therefore be ignored before the driver attempts to acquire the interrupt. The described correction follows the bounded approach already used by das16m1.c.
This is more than a malformed-parameter issue. IRQ numbers identify shared kernel resources, and request_irq() does not guarantee that a caller is operating within the resource domain expected by that driver. An unchecked value can cause pcmmio to claim an interrupt already associated with another IRQ domain, such as a PCI device's IO-APIC GSI.
Attack path and potential impact
The relevant path begins when a local actor configures a Comedi pcmmio board through COMEDI_DEVCONFIG and supplies an IRQ outside the expected 1-15 range. The driver can then attempt to register its handler for that IRQ. If the selected interrupt has another owner, the conflicting ownership state can remain when that owner is later released, leaving the descriptor freed while the pcmmio handler is still installed.
The supplied advisory does not establish the complete memory-safety consequences of that stale-handler condition. In particular, the available material does not conclusively determine whether every affected path produces a use-after-free, what observable corruption or crash could result, or whether privilege escalation is possible. The defensible conclusion is that the flaw permits incorrect kernel IRQ ownership and creates an unsafe handler lifecycle condition.
The attack surface is local. The context does not identify the precise permissions, capabilities, device nodes, or daemon interfaces required to configure the relevant board, so claims about a specific privilege level would be speculative.
Real-world risk assessment
The supplied risk assessment assigns CVE-2026-139407 a technical score of 25/100 and records it as low severity. Several factors constrain exploitation:
- Configuration access must already be available locally.
- The selected IRQ must conflict with a resource managed elsewhere.
- The original resource owner must subsequently release the IRQ for the unsafe lifecycle condition to arise.
- No known exploitation or public exploit implementation is recorded.
- The issue is not presented as remotely reachable.
There is no authoritative CVSS vector in the supplied record. The absence of a CISA KEV listing and exploitation evidence does not prove that exploitation has never occurred, but it provides no basis for raising the assessment beyond low severity.
Affected systems
The affected functional surface is limited to Linux kernel systems that use the Comedi pcmmio driver and expose a configurable board to a local actor able to invoke COMEDI_DEVCONFIG. The relevant exposure also depends on whether the requested IRQ can collide with a resource owned by another IRQ domain.
The supplied source does not identify a specific affected kernel release range, affected stable branches, or fixed distribution package versions. The record describes the vulnerability as resolved, but that status alone is insufficient to determine which deployed kernels contain the correction. Package-level exposure therefore remains unspecified.
Mitigation
The primary correction described by the advisory is kernel-side validation before request_irq(). Only IRQ values from 1 through 15 are eligible for the software-routed pcmmio board. An out-of-range value is ignored rather than rejected, allowing the board to attach without interrupt support. This preserves the behavior already observed when interrupt acquisition fails.
Distribution packages can be assessed against vendor advisories or kernel source history for the same bounds check. Until a package-specific fix is confirmed, reduced access to Comedi device nodes and COMEDI_DEVCONFIG operations provides a compensating control by limiting who can select the IRQ value. Userspace validation of the 1-15 range offers additional protection but does not replace the kernel-side invariant.
Detection can focus on local pcmmio use, access permissions for Comedi configuration interfaces, and tracing of COMEDI_DEVCONFIG calls and subsequent request_irq() activity. Requests involving IRQ values outside 1-15 or apparent conflicts with another IRQ-domain owner are notable. The supplied context provides no canonical log signature for these events.
Overall assessment
CVE-2026-139407 is a genuine local kernel input-validation weakness with a constrained and state-dependent exploitation path. Its significance lies in allowing a user-controlled configuration value to cross into shared interrupt ownership without enforcing the driver's ISA resource boundary. The available evidence supports low severity, while the exact affected releases, fixed package versions, and full memory-safety consequences remain unspecified.
منابع
- git.kernel.org/stable/c/23c6fc62e754f8bc412ceb5c0d9aaa14f2c9ff31
- git.kernel.org/stable/c/308443d693d19cde3fa39f51a2cccd2b9975509b
- git.kernel.org/stable/c/3aae32f60ab783c2d64c7492180af30cdf4130fb
- git.kernel.org/stable/c/81558579a158aa87de4a359e47305a180ccd56bb
- git.kernel.org/stable/c/829bf55127052c599973112f90bbf27716fd74d9
- git.kernel.org/stable/c/8edacd5675d06de0aaa197ebe4efa1eabe43f46e
- git.kernel.org/stable/c/9bab98443c905ab6d07c5ad7ce84be18abc5b65f
- git.kernel.org/stable/c/d5b7d90566b9de60ffb4f434d535ae0d05de9417