CVE-2024-26912

drm/nouveau: fix several DMA buffer leaks

published April 17, 2024

CVSS
—
EPSS
0%
Percentile
8.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00193 · 8.6th percentile
Published
2024-04-17T15:59Z
EPSS history
Timeline
  • 17 APR 15:59Z
    drm/nouveau: fix several DMA buffer leaks
    cvelistv5