{"id":"CVE-2026-99622","summary":"drm/amdgpu: drop the dma-buf reference when a KFD import fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: drop the dma-buf reference when a KFD import fails\n\nimport_obj_create() takes a reference on the dma-buf for the new kgd_mem,\nbut the error path after validating the BO doesn't drop it. Since the\nvalidation reserves the BO interruptibly, an import failing with\n-ERESTARTSYS leaks the exported BO with its memory, and keeps the module\nin use.\n\nImporting a 64 MiB VRAM BO in a loop while getting SIGUSR1\nevery 20 us and another thread changes the BO's mappings:\n\n  INFO: 171821 imports, VRAM used before 65 MiB, after 129 MiB\n  modprobe: FATAL: Module amdgpu is in use.\n\nDrop the reference, and free the sync object and the mutex of the kgd_mem\nas well. With that VRAM usage returns to 65 MiB after the same test.\n\n(cherry picked from commit b4d1eca2729840148ff2ea957724ce764ca5a94e)","modified":"2026-11-20T07:00:55.106612111Z","published":"2026-11-20T05:49:42.179Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99622.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e65f78269a95052c2de91b4a14ee83f3e780828"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f300412649edf42e0eb232334a84764cd945118"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2654cbb6a2244d8200e0505612f03bf36af2908"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb900f8bfd8a16126affd186d21001e4c6533324"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99622.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99622"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0e2e7c5b3d712f4589b3bf0eb2988337966648b6"},{"fixed":"a2654cbb6a2244d8200e0505612f03bf36af2908"},{"fixed":"6f300412649edf42e0eb232334a84764cd945118"},{"fixed":"1e65f78269a95052c2de91b4a14ee83f3e780828"},{"fixed":"fb900f8bfd8a16126affd186d21001e4c6533324"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99622.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99622.json"}}],"schema_version":"1.9.2"}