{"api_version":"1","generated_at":"2026-11-30T18:38:10+00:00","cve":"CVE-2026-139411","urls":{"html":"https://cve.report/CVE-2026-139411","api":"https://cve.report/api/cve/CVE-2026-139411.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139411","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139411"},"summary":{"title":"comedi: comedi_parport: validate the IRQ supplied by userspace","description":"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->options[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's 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's 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->isa_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 'irq/20', leaking at least 'comedi_parport'\n\tWARNING: fs/proc/generic.c:747 at remove_proc_entry+0x4e7/0x610 fs/proc/generic.c:747\n\tCall Trace:\n\t <TASK>\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 </TASK>\n\nThe leaked /proc entry the warning names is the mild part.\nmp_chip_data->count 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:09","updated_at":"2026-11-30 14:19:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6052d2536dfdf628d0e4e4fca607cc16420c9eca","name":"https://git.kernel.org/stable/c/6052d2536dfdf628d0e4e4fca607cc16420c9eca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/790ea6844593bcd03b0379986fc821d8c511746e","name":"https://git.kernel.org/stable/c/790ea6844593bcd03b0379986fc821d8c511746e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c5205460cef865a325493daf3bb06f11d100ad0b","name":"https://git.kernel.org/stable/c/c5205460cef865a325493daf3bb06f11d100ad0b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/086807d9af427f1e671557082ba0091411d4b33b","name":"https://git.kernel.org/stable/c/086807d9af427f1e671557082ba0091411d4b33b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ea42b58d5cb24f219989d91256143c1ed17bd346","name":"https://git.kernel.org/stable/c/ea42b58d5cb24f219989d91256143c1ed17bd346","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/76f7c3c99ccad1a841c8222a100298e5dfa1c83b","name":"https://git.kernel.org/stable/c/76f7c3c99ccad1a841c8222a100298e5dfa1c83b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/66bed8b759b8750603a9de56a2c312742189a186","name":"https://git.kernel.org/stable/c/66bed8b759b8750603a9de56a2c312742189a186","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eecf84a024bde8794ac0f540f7b9bd2059930b10","name":"https://git.kernel.org/stable/c/eecf84a024bde8794ac0f540f7b9bd2059930b10","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139411","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139411","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 086807d9af427f1e671557082ba0091411d4b33b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 66bed8b759b8750603a9de56a2c312742189a186 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 76f7c3c99ccad1a841c8222a100298e5dfa1c83b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 ea42b58d5cb24f219989d91256143c1ed17bd346 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 c5205460cef865a325493daf3bb06f11d100ad0b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 eecf84a024bde8794ac0f540f7b9bd2059930b10 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 6052d2536dfdf628d0e4e4fca607cc16420c9eca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 241ab6ad7108e51c67881f7881c5e46f0400cdb1 790ea6844593bcd03b0379986fc821d8c511746e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.29","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.29 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/comedi/drivers/comedi_parport.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"086807d9af427f1e671557082ba0091411d4b33b","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"66bed8b759b8750603a9de56a2c312742189a186","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"76f7c3c99ccad1a841c8222a100298e5dfa1c83b","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"ea42b58d5cb24f219989d91256143c1ed17bd346","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"c5205460cef865a325493daf3bb06f11d100ad0b","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"eecf84a024bde8794ac0f540f7b9bd2059930b10","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"6052d2536dfdf628d0e4e4fca607cc16420c9eca","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"},{"lessThan":"790ea6844593bcd03b0379986fc821d8c511746e","status":"affected","version":"241ab6ad7108e51c67881f7881c5e46f0400cdb1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/comedi/drivers/comedi_parport.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.29"},{"lessThan":"2.6.29","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.29","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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->options[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's 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's 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->isa_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 'irq/20', leaking at least 'comedi_parport'\n\tWARNING: fs/proc/generic.c:747 at remove_proc_entry+0x4e7/0x610 fs/proc/generic.c:747\n\tCall Trace:\n\t <TASK>\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 </TASK>\n\nThe leaked /proc entry the warning names is the mild part.\nmp_chip_data->count 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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:30.443Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/086807d9af427f1e671557082ba0091411d4b33b"},{"url":"https://git.kernel.org/stable/c/66bed8b759b8750603a9de56a2c312742189a186"},{"url":"https://git.kernel.org/stable/c/76f7c3c99ccad1a841c8222a100298e5dfa1c83b"},{"url":"https://git.kernel.org/stable/c/ea42b58d5cb24f219989d91256143c1ed17bd346"},{"url":"https://git.kernel.org/stable/c/c5205460cef865a325493daf3bb06f11d100ad0b"},{"url":"https://git.kernel.org/stable/c/eecf84a024bde8794ac0f540f7b9bd2059930b10"},{"url":"https://git.kernel.org/stable/c/6052d2536dfdf628d0e4e4fca607cc16420c9eca"},{"url":"https://git.kernel.org/stable/c/790ea6844593bcd03b0379986fc821d8c511746e"}],"title":"comedi: comedi_parport: validate the IRQ supplied by userspace","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139411","datePublished":"2026-11-30T13:34:30.443Z","dateReserved":"2026-11-30T13:22:15.932Z","dateUpdated":"2026-11-30T13:34:30.443Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:09","lastModifiedDate":"2026-11-30 14:19:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139411","Ordinal":"1","Title":"comedi: comedi_parport: validate the IRQ supplied by userspace","CVE":"CVE-2026-139411","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139411","Ordinal":"1","NoteData":"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->options[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's 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's 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->isa_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 'irq/20', leaking at least 'comedi_parport'\n\tWARNING: fs/proc/generic.c:747 at remove_proc_entry+0x4e7/0x610 fs/proc/generic.c:747\n\tCall Trace:\n\t <TASK>\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 </TASK>\n\nThe leaked /proc entry the warning names is the mild part.\nmp_chip_data->count 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.","Type":"Description","Title":"comedi: comedi_parport: validate the IRQ supplied by userspace"}]}}}