PT-2026-163452

CVE-2026-139411

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾