Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2022-50393

drm/amdgpu: SDMA update use unlocked iterator

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: SDMA update use unlocked iterator SDMA update page table may be called from unlocked context, this generate below warning. Use unlocked iterator to handle this case. WARNING: CPU: 0 PID: 1475 at drivers/dma-buf/dma-resv.c:483 dma_resv_iter_next Call Trace: dma_resv_iter_first+0x43/0xa0 amdgpu_vm_sdma_update+0x69/0x2d0 [amdgpu] amdgpu_vm_ptes_update+0x29c/0x870 [amdgpu] amdgpu_vm_update_range+0x2f6/0x6c0 [amdgpu] svm_range_unmap_from_gpus+0x115/0x300 [amdgpu] svm_range_cpu_invalidate_pagetables+0x510/0x5e0 [amdgpu] __mmu_notifier_invalidate_range_start+0x1d3/0x230 unmap_vmas+0x140/0x150 unmap_region+0xa8/0x110

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8bb31587820a6e04cb613b49238b1800d1a97223 to < b892c57a3a04c8de247ab9ee08a0a8cf53290e19affected
  • 8bb31587820a6e04cb613b49238b1800d1a97223 to < 4ff3d517cebe8a29b9f3c302b5292bb1ce291e00affected
  • 8bb31587820a6e04cb613b49238b1800d1a97223 to < 3913f0179ba366f7d7d160c506ce00de1602bbc4affected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 5.19.17 to ≤ 5.19.*unaffected
  • 6.0.3 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References