CVE-2024-26912

MEDIUM

Linux Kernel 6.7-6.7.5 - Use-After-Free in Nouveau GSP-RM DMA Buffer Management

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0019
EPSS Percentile 9.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (8)
linux/Kernel 6.7.0 - 6.7.6linux
Linux/Linux < 6.7
Linux/Linux 176fdcbddfd288408ce8571c1760ad618d962096 - 042b5f83841fbf7ce39474412db3b5e4765a7ea7
Linux/Linux 176fdcbddfd288408ce8571c1760ad618d962096 - 6190d4c08897d748dd25f0b78267a90aa1694e15
Linux/Linux 6.7
Linux/Linux 6.7.6 - 6.7.*
Linux/Linux 6.8
linux/linux_kernel 6.7.0 - 6.7.6
Published Apr 17, 2024
Tracked Since Feb 18, 2026