{"id":"CVE-2024-26912","summary":"drm/nouveau: fix several DMA buffer leaks","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix several DMA buffer leaks\n\nNouveau manages GSP-RM DMA buffers with nvkm_gsp_mem objects.  Several of\nthese buffers are never dealloced.  Some of them can be deallocated\nright after GSP-RM is initialized, but the rest need to stay until the\ndriver unloads.\n\nAlso futher bullet-proof these objects by poisoning the buffer and\nclearing the nvkm_gsp_mem object when it is deallocated.  Poisoning\nthe buffer should trigger an error (or crash) from GSP-RM if it tries\nto access the buffer after we've deallocated it, because we were wrong\nabout when it is safe to deallocate.\n\nFinally, change the mem-\u003esize field to a size_t because that's the same\ntype that dma_alloc_coherent expects.","modified":"2026-04-02T10:06:23.233606Z","published":"2024-04-17T15:59:23.223Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26912.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/042b5f83841fbf7ce39474412db3b5e4765a7ea7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6190d4c08897d748dd25f0b78267a90aa1694e15"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26912.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26912"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"176fdcbddfd288408ce8571c1760ad618d962096"},{"fixed":"6190d4c08897d748dd25f0b78267a90aa1694e15"},{"fixed":"042b5f83841fbf7ce39474412db3b5e4765a7ea7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26912.json"}}],"schema_version":"1.7.5"}