CVE-2026-139411: comedi: comedi_parport: validate the IRQ supplied by userspace
comedi: comediparport: validate the IRQ supplied by userspace
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In comedi_parport, validate and bound the userspace-supplied IRQ to the ISA IRQ range before passing it to request_irq().
Event History
Frequently Asked Questions
What must an attacker be able to do to trigger this issue?
They must be able to configure a comedi board through the COMEDI_DEVCONFIG ioctl and supply the IRQ value. The vulnerable path uses the userspace-selected value from the device configuration options.
Which systems are exposed?
Systems using the Linux kernel comedi_parport driver are affected when that driver is configured through COMEDI_DEVCONFIG with an unchecked IRQ value. The issue concerns parallel-port boards, which should use a legacy ISA interrupt.
What can happen if an invalid IRQ is supplied?
The driver can claim an interrupt belonging to another IRQ domain, such as a PCI device IO-APIC GSI. When that interrupt's legitimate owner is released, its descriptor can be freed while the comedi_parport interrupt handler remains installed, producing IRQ cleanup warnings and leaked entries.
How can administrators identify evidence of this condition?
Kernel logs may show warnings during IRQ cleanup, including "remove_proc_entry: removing non-empty directory 'irq/20', leaking at least 'comedi_parport'". The specific IRQ number in the message may differ.