GHSA-C66Q-H8GJ-2Q63
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In 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.
{
"affected": [],
"aliases": [
"CVE-2026-139411"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:19:09Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: comedi_parport: validate the IRQ supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit-\u003eoptions[1] is a number chosen by userspace. comedi_parport passes it to\nrequest_irq() without checking it first, which lets an interrupt owned by\nanother irqdomain -- a PCI device\u0027s IO-APIC GSI, for instance -- be\nclaimed for this board. When the owner of that interrupt is later\nreleased the descriptor is freed while this driver\u0027s handler is still\ninstalled on it.\n\nA parallel port asserts a legacy ISA interrupt, so the ISA range is the\nright bound; it is also sufficient, because mp_chip_data-\u003eisa_irq is set\nonly by alloc_isa_irq_from_domain() and mp_unmap_irq() returns early when\nit is set.\n\nsyzbot hit this one:\n\n\tremove_proc_entry: removing non-empty directory \u0027irq/20\u0027, leaking at least \u0027comedi_parport\u0027\n\tWARNING: fs/proc/generic.c:747 at remove_proc_entry+0x4e7/0x610 fs/proc/generic.c:747\n\tCall Trace:\n\t \u003cTASK\u003e\n\t unregister_irq_proc+0x206/0x2a0 kernel/irq/proc.c:406\n\t free_desc+0x89/0x330 kernel/irq/irqdesc.c:482\n\t irq_free_descs+0x84/0xc0 kernel/irq/irqdesc.c:865\n\t irq_domain_free_irqs+0x46a/0x5c0 kernel/irq/irqdomain.c:1917\n\t mp_unmap_irq+0xf8/0x130 arch/x86/kernel/apic/io_apic.c:1061\n\t acpi_unregister_gsi_ioapic+0x40/0x60 arch/x86/kernel/acpi/boot.c:722\n\t acpi_pci_irq_disable+0x275/0x360 drivers/acpi/pci_irq.c:517\n\t pci_disable_device+0x130/0x270 drivers/pci/pci.c:2206\n\t pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512\n\t device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372\n\t unbind_store+0xf8/0x110 drivers/base/bus.c:244\n\t \u003c/TASK\u003e\n\nThe leaked /proc entry the warning names is the mild part.\nmp_chip_data-\u003ecount tracks GSI mappings rather than request_irq() users,\nand __setup_irq() takes no reference on the descriptor, so the irq_desc\nis freed with the comedi irqaction still attached to it.\n\nBound the value before requesting it, as das16m1.c already does. An\nout-of-range value is ignored rather than rejected, so the board still\nattaches without interrupt support, exactly as it does today when\nrequest_irq() fails.",
"id": "GHSA-c66q-h8gj-2q63",
"modified": "2026-11-30T15:32:30Z",
"published": "2026-11-30T15:32:30Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139411"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/086807d9af427f1e671557082ba0091411d4b33b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6052d2536dfdf628d0e4e4fca607cc16420c9eca"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/66bed8b759b8750603a9de56a2c312742189a186"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/76f7c3c99ccad1a841c8222a100298e5dfa1c83b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/790ea6844593bcd03b0379986fc821d8c511746e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c5205460cef865a325493daf3bb06f11d100ad0b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ea42b58d5cb24f219989d91256143c1ed17bd346"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/eecf84a024bde8794ac0f540f7b9bd2059930b10"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.