# CVE-2024-26912: drm/nouveau: fix several DMA buffer leaks

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-04-17T15:59:23.223Z
- Modified: 2026-06-17T07:18:40.403Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: fix several DMA buffer leaks

Nouveau manages GSP-RM DMA buffers with nvkm_gsp_mem objects.  Several of
these buffers are never dealloced.  Some of them can be deallocated
right after GSP-RM is initialized, but the rest need to stay until the
driver unloads.

Also futher bullet-proof these objects by poisoning the buffer and
clearing the nvkm_gsp_mem object when it is deallocated.  Poisoning
the buffer should trigger an error (or crash) from GSP-RM if it tries
to access the buffer after we've deallocated it, because we were wrong
about when it is safe to deallocate.

Finally, change the mem->size field to a size_t because that's the same
type that dma_alloc_coherent expects.

(As written by CVE List.)

## Affected

- Linux Linux: from 176fdcbddfd288408ce8571c1760ad618d962096 before 6190d4c08897d748dd25f0b78267a90aa1694e15; from 176fdcbddfd288408ce8571c1760ad618d962096 before 042b5f83841fbf7ce39474412db3b5e4765a7ea7; 6.7 (not affected: before 6.7; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from >6.7.0 before 6.7.6

## References

- <https://git.kernel.org/stable/c/6190d4c08897d748dd25f0b78267a90aa1694e15> (patch)
- <https://git.kernel.org/stable/c/042b5f83841fbf7ce39474412db3b5e4765a7ea7> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-26912 · Whole record: https://cve.day/CVE-2024-26912.json · Rebuilt by cve.day 2026-11-25T22:58:39.408Z
