VDB

CVE-2024-26912

CVE-2024-26912 PUBLISHED

drm/nouveau: fix several DMA buffer leaks

Reported by linux · Published April 17, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.7.6

Affected products

VendorProductVersions
LinuxLinux176fdcbddfd288408ce8571c1760ad618d962096, 176fdcbddfd288408ce8571c1760ad618d962096
LinuxLinux6.7, 0, 6.7.6
linuxlinux_kernel6.7, 6.7
LinuxLinux176fdcbddfd288408ce8571c1760ad618d962096, 176fdcbddfd288408ce8571c1760ad618d962096, 6.7

Timeline

  • Apr 17, 2024 CVE Published
  • Apr 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (15 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (229 in total, the first dated here)
  • Sep 3, 2026 CVE Updated
  • Sep 4, 2026 Distribution Patch (172 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26912
vulnetix vdb fixes CVE-2024-26912

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26912/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›