CVE-2022-50393 drm/amdgpu: SDMA update use unlocked iterator

High 7.8 Published Updated

A missing lock in the AMD GPU driver causes a kernel warning and potential crash when updating page tables from an unlocked context.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50393?

CVE-2022-50393 is a high-severity vulnerability in Linux kernel, published on 18 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Which versions are affected by CVE-2022-50393?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-50393?

Apply the vendor's patch.

Is CVE-2022-50393 being exploited?

There is no known exploitation of CVE-2022-50393 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-72313, DEBIAN-CVE-2022-50393, GHSA-q8mf-qxc7-f7h5, ROOT-OS-DEBIAN-11-CVE-2022-50393, ROOT-OS-UBUNTU-2204-CVE-2022-50393, UBUNTU-CVE-2022-50393.

Is CVE-2022-50393 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free