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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-04-17T15:59:23.223Z

Updated: 2024-08-02T00:21:05.852Z

Reserved: 2024-02-19T14:20:24.190Z

Link: CVE-2024-26912

cve-icon Vulnrichment

Updated: 2024-05-28T19:48:23.430Z

cve-icon NVD

Status : Analyzed

Published: 2024-04-17T16:15:07.990

Modified: 2024-04-29T19:20:57.410

Link: CVE-2024-26912

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-04-17T00:00:00Z

Links: CVE-2024-26912 - Bugzilla