{"id":"CVE-2026-98905","state":"PUBLISHED","title":"drm/amdkfd: Properly acquire queue buffers in CRIU restore","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Properly acquire queue buffers in CRIU restore\n\nWhen kfd_queue_acquire_buffers() was split off from\nset_queue_properties_from_user(), set_queue_properties_from_criu()\nwas missed. Thus, set_queue_properties_from_criu() is not\nfilling out the buffer fields of queue_properties, which\ncan come up when subsequent code expects them to be non-null.\n\nAdd the proper call to kfd_queue_acquire_buffers(), and also\nuse the right cast types in set_queue_properties_from_criu()\n(which were missed at the same time)\n\n(cherry picked from commit 88ed96abbbe27b70193544fbc1ee06448c274714)","publishedAt":"2026-10-23T11:54:40.083Z","updatedAt":"2026-10-26T06:56:34.069Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fb91065851cd5f2735348c5f3eddeeca3d7c2973","status":"affected","lessThan":"e2dbdd14c3352483a89e4a9afda05d0f3fcc2c83","versionType":"git"},{"version":"fb91065851cd5f2735348c5f3eddeeca3d7c2973","status":"affected","lessThan":"c6c290e408fe328e091f0bf7502a42b0deea82e9","versionType":"git"},{"version":"fb91065851cd5f2735348c5f3eddeeca3d7c2973","status":"affected","lessThan":"20a5e7ffdfecddc34c60a6b4483f42acf3d8731d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c"]}],"references":["https://git.kernel.org/stable/c/e2dbdd14c3352483a89e4a9afda05d0f3fcc2c83","https://git.kernel.org/stable/c/c6c290e408fe328e091f0bf7502a42b0deea82e9","https://git.kernel.org/stable/c/20a5e7ffdfecddc34c60a6b4483f42acf3d8731d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98905.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98905","state":"PUBLISHED","datePublished":"2026-10-23T11:54:40.083Z","dateUpdated":"2026-10-26T06:56:34.069Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.379Z"},"containers":{"cna":{"title":"drm/amdkfd: Properly acquire queue buffers in CRIU restore","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Properly acquire queue buffers in CRIU restore\n\nWhen kfd_queue_acquire_buffers() was split off from\nset_queue_properties_from_user(), set_queue_properties_from_criu()\nwas missed. Thus, set_queue_properties_from_criu() is not\nfilling out the buffer fields of queue_properties, which\ncan come up when subsequent code expects them to be non-null.\n\nAdd the proper call to kfd_queue_acquire_buffers(), and also\nuse the right cast types in set_queue_properties_from_criu()\n(which were missed at the same time)\n\n(cherry picked from commit 88ed96abbbe27b70193544fbc1ee06448c274714)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fb91065851cd5f2735348c5f3eddeeca3d7c2973","status":"affected","lessThan":"e2dbdd14c3352483a89e4a9afda05d0f3fcc2c83","versionType":"git"},{"version":"fb91065851cd5f2735348c5f3eddeeca3d7c2973","status":"affected","lessThan":"c6c290e408fe328e091f0bf7502a42b0deea82e9","versionType":"git"},{"version":"fb91065851cd5f2735348c5f3eddeeca3d7c2973","status":"affected","lessThan":"20a5e7ffdfecddc34c60a6b4483f42acf3d8731d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e2dbdd14c3352483a89e4a9afda05d0f3fcc2c83"},{"url":"https://git.kernel.org/stable/c/c6c290e408fe328e091f0bf7502a42b0deea82e9"},{"url":"https://git.kernel.org/stable/c/20a5e7ffdfecddc34c60a6b4483f42acf3d8731d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-26T06:56:34.069Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}