# CVE-2026-139074: drm/nouveau: cancel the DP IRQ work before freeing the connector

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:39.195Z
- Modified: 2026-11-30T14:18:14.773Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 773eb04d14a11552b2c3953097ed09cde2ab4831 before 828381e536ba651078313e8187da00966edbf433; from 773eb04d14a11552b2c3953097ed09cde2ab4831 before bda77393313c8cc9166a74c4e4331f91ce97c48c; from 773eb04d14a11552b2c3953097ed09cde2ab4831 before 3ea6031d2625fd93ee17994f65140c321de46a83; from 773eb04d14a11552b2c3953097ed09cde2ab4831 before 16fd45596851eb1b14d5c9ea30aa044395ebe288; from 773eb04d14a11552b2c3953097ed09cde2ab4831 before f60849975a886d70883bcb6b3658c0fa83c6971f; 6.2 (not affected: before 6.2; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139074](https://www.cve.org/CVERecord?id=CVE-2026-139074), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139074](https://nvd.nist.gov/vuln/detail/CVE-2026-139074), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139074 · Whole record: https://cve.day/CVE-2026-139074.json · Rebuilt by cve.day 2026-11-30T14:33:04.542Z
