{"id":"CVE-2026-43318","state":"PUBLISHED","title":"drm/amdgpu: fix sync handling in amdgpu_dma_buf_move_notify","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix sync handling in amdgpu_dma_buf_move_notify\n\nInvalidating a dmabuf will impact other users of the shared BO.\nIn the scenario where process A moves the BO, it needs to inform\nprocess B about the move and process B will need to update its\npage table.\n\nThe commit fixes a synchronisation bug caused by the use of the\nticket: it made amdgpu_vm_handle_moved behave as if updating\nthe page table immediately was correct but in this case it's not.\n\nAn example is the following scenario, with 2 GPUs and glxgears\nrunning on GPU0 and Xorg running on GPU1, on a system where P2P\nPCI isn't supported:\n\nglxgears:\n  export linear buffer from GPU0 and import using GPU1\n  submit frame rendering to GPU0\n  submit tiled->linear blit\nXorg:\n  copy of linear buffer\n\nThe sequence of jobs would be:\n  drm_sched_job_run                       # GPU0, frame rendering\n  drm_sched_job_queue                     # GPU0, blit\n  drm_sched_job_done                      # GPU0, frame rendering\n  drm_sched_job_run                       # GPU0, blit\n  move linear buffer for GPU1 access      #\n  amdgpu_dma_buf_move_notify -> update pt # GPU0\n\nIt this point the blit job on GPU0 is still running and would\nlikely produce a page fault.","publishedAt":"2026-05-08T13:26:13.557Z","updatedAt":"2026-05-11T22:22:14.662Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"82a7ea35a1526bef8ae170c33ff80e5db7728961","versionType":"git"},{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"89a9389ad70d3c69538e59d87df67d407aef4c26","versionType":"git"},{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"3307459eb3583115264421e859858d1f90f3694a","versionType":"git"},{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"b18fc0ab837381c1a6ef28386602cd888f2d9edf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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/amdgpu/amdgpu_dma_buf.c"]}],"references":["https://git.kernel.org/stable/c/82a7ea35a1526bef8ae170c33ff80e5db7728961","https://git.kernel.org/stable/c/89a9389ad70d3c69538e59d87df67d407aef4c26","https://git.kernel.org/stable/c/3307459eb3583115264421e859858d1f90f3694a","https://git.kernel.org/stable/c/b18fc0ab837381c1a6ef28386602cd888f2d9edf"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43318.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43318","state":"PUBLISHED","datePublished":"2026-05-08T13:26:13.557Z","dateUpdated":"2026-05-11T22:22:14.662Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.001Z"},"containers":{"cna":{"title":"drm/amdgpu: fix sync handling in amdgpu_dma_buf_move_notify","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix sync handling in amdgpu_dma_buf_move_notify\n\nInvalidating a dmabuf will impact other users of the shared BO.\nIn the scenario where process A moves the BO, it needs to inform\nprocess B about the move and process B will need to update its\npage table.\n\nThe commit fixes a synchronisation bug caused by the use of the\nticket: it made amdgpu_vm_handle_moved behave as if updating\nthe page table immediately was correct but in this case it's not.\n\nAn example is the following scenario, with 2 GPUs and glxgears\nrunning on GPU0 and Xorg running on GPU1, on a system where P2P\nPCI isn't supported:\n\nglxgears:\n  export linear buffer from GPU0 and import using GPU1\n  submit frame rendering to GPU0\n  submit tiled->linear blit\nXorg:\n  copy of linear buffer\n\nThe sequence of jobs would be:\n  drm_sched_job_run                       # GPU0, frame rendering\n  drm_sched_job_queue                     # GPU0, blit\n  drm_sched_job_done                      # GPU0, frame rendering\n  drm_sched_job_run                       # GPU0, blit\n  move linear buffer for GPU1 access      #\n  amdgpu_dma_buf_move_notify -> update pt # GPU0\n\nIt this point the blit job on GPU0 is still running and would\nlikely produce a page fault."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"82a7ea35a1526bef8ae170c33ff80e5db7728961","versionType":"git"},{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"89a9389ad70d3c69538e59d87df67d407aef4c26","versionType":"git"},{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"3307459eb3583115264421e859858d1f90f3694a","versionType":"git"},{"version":"a448cb003edcb4b63d0a9c95f3faab724e6150fb","status":"affected","lessThan":"b18fc0ab837381c1a6ef28386602cd888f2d9edf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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/amdgpu/amdgpu_dma_buf.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/82a7ea35a1526bef8ae170c33ff80e5db7728961"},{"url":"https://git.kernel.org/stable/c/89a9389ad70d3c69538e59d87df67d407aef4c26"},{"url":"https://git.kernel.org/stable/c/3307459eb3583115264421e859858d1f90f3694a"},{"url":"https://git.kernel.org/stable/c/b18fc0ab837381c1a6ef28386602cd888f2d9edf"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:22:14.662Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.18.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}