Use-after-free in Linux nouveau DP IRQ work after connector free
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
In the Linux kernel from 6.2, the nouveau DRM driver's connector teardown frees a DP connector without cancelling its pending IRQ work. A DP IRQ that arrives before the event teardown leaves that work queued after the connector is freed, so it later dereferences freed memory, a use-after-free.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: cancel the DP IRQ work before freeing the connector nouveau_connector_destroy() tears the two nvif events down and then frees the connector, but never cancels the work the IRQ event queues: nvif_event_dtor(&nv_connector->irq); nvif_event_dtor(&nv_connector->hpd); kfree(nv_connector->edid); ... kfree(connector); nouveau_connector_irq() queues that work unconditionally: schedule_work(&nv_connector->irq_work); return NVIF_EVENT_KEEP; A DP IRQ arriving just before nvif_event_dtor() therefore leaves nv_connector->irq_work on the system queue past the kfree(). When it runs, nouveau_dp_irq() derives both nv_connector and connector from the work_struct and dereferences them, and goes on to take outp->dp.hpd_irq_lock. There is no cancel_work_sync() for irq_work anywhere in the driver, so nothing else covers this. Add it after the event teardown, where no further work can be queued, and before anything is freed. Reported by the Sashiko review bot as a pre-existing issue, in its review of an earlier nv04 FIFO series of mine, and confirmed against the source.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade to Linux kernel 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139074
- 2026-11-30 Alias added: GHSA-hc52-p9hp-pm59
References
Other 5
- https://git.kernel.org/stable/c/828381e536ba651078313e8187da00966edbf433
- https://git.kernel.org/stable/c/bda77393313c8cc9166a74c4e4331f91ce97c48c
- https://git.kernel.org/stable/c/3ea6031d2625fd93ee17994f65140c321de46a83
- https://git.kernel.org/stable/c/16fd45596851eb1b14d5c9ea30aa044395ebe288
- https://git.kernel.org/stable/c/f60849975a886d70883bcb6b3658c0fa83c6971f
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139074 · CVE Program
- CVE-2026-139074 · NVD
- GHSA-hc52-p9hp-pm59 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences