CVE-2026-139411

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

comedi: comedi_parport: 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. comedi_parport 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.

A parallel port asserts a legacy ISA interrupt, 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.

syzbot hit this one:

remove_proc_entry: removing non-empty directory 'irq/20', leaking at least 'comedi_parport' WARNING: fs/proc/generic.c:747 at remove_proc_entry+0x4e7/0x610 fs/proc/generic.c:747 Call Trace: <TASK> unregister_irq_proc+0x206/0x2a0 kernel/irq/proc.c:406 free_desc+0x89/0x330 kernel/irq/irqdesc.c:482 irq_free_descs+0x84/0xc0 kernel/irq/irqdesc.c:865 irq_domain_free_irqs+0x46a/0x5c0 kernel/irq/irqdomain.c:1917 mp_unmap_irq+0xf8/0x130 arch/x86/kernel/apic/io_apic.c:1061 acpi_unregister_gsi_ioapic+0x40/0x60 arch/x86/kernel/acpi/boot.c:722 acpi_pci_irq_disable+0x275/0x360 drivers/acpi/pci_irq.c:517 pci_disable_device+0x130/0x270 drivers/pci/pci.c:2206 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 unbind_store+0xf8/0x110 drivers/base/bus.c:244 </TASK>

The leaked /proc entry the warning names is the mild part. mp_chip_data->count tracks GSI mappings rather than request_irq() users, and __setup_irq() takes no reference on the descriptor, so the irq_desc is freed with the comedi irqaction still attached to it.

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139412In the Linux kernel, the following vulnerability has been resolved: net: alacritech: fix dma_free_coherent() in error path In slic_init_stCVE-2026-139413In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: fix ntfs_fnd leak when compare function is missing indx_inseCVE-2026-1394147.0In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Fix race between admin command timeout and completion An admCVE-2026-139415In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses When generaCVE-2026-139416In the Linux kernel, the following vulnerability has been resolved: ALSA: rawmidi: Drain input work before freeing the runtime The input rCVE-2026-139417In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent CVE-2026-139418In the Linux kernel, the following vulnerability has been resolved: platform/olpc: Reserve space for a string terminator ec_dbgfs_cmd_writCVE-2026-139419In the Linux kernel, the following vulnerability has been resolved: platform/x86/intel: power-domains: Handle failed init in tpmi_get_linuxCVE-2026-139423.3Inappropriate implementation in Video Capture in Google Chrome on ChromeOS prior to 150.0.7871.47 allowed a local attacker to perform UI spoCVE-2026-139420In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: intel: Don't free card in the probe work If the delayed proCVE-2026-139421In the Linux kernel, the following vulnerability has been resolved: ALSA: jack: Remove debugfs before freeing unregistered jacks Jack debuCVE-2026-139422In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup ath12k_mac
CVE-2026-139411: Unscored | Vulnix