{"id":"CVE-2026-99622","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-20T06:17:54.873","lastModified":"2026-11-20T06:17:54.873","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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)"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0e2e7c5b3d712f4589b3bf0eb2988337966648b6","lessThan":"a2654cbb6a2244d8200e0505612f03bf36af2908","versionType":"git","status":"affected"},{"version":"0e2e7c5b3d712f4589b3bf0eb2988337966648b6","lessThan":"6f300412649edf42e0eb232334a84764cd945118","versionType":"git","status":"affected"},{"version":"0e2e7c5b3d712f4589b3bf0eb2988337966648b6","lessThan":"1e65f78269a95052c2de91b4a14ee83f3e780828","versionType":"git","status":"affected"},{"version":"0e2e7c5b3d712f4589b3bf0eb2988337966648b6","lessThan":"fb900f8bfd8a16126affd186d21001e4c6533324","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1e65f78269a95052c2de91b4a14ee83f3e780828","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6f300412649edf42e0eb232334a84764cd945118","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a2654cbb6a2244d8200e0505612f03bf36af2908","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fb900f8bfd8a16126affd186d21001e4c6533324","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}