---
id: CVE-2022-50393
title: |-
  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
summary: |-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.2, < 5.19.17'
  - 'linux_kernel >= 6.0, < 6.0.3'
patched:
  - linux_kernel 6.0.3
published: '2025-09-18'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-50393'
references:
  - url: 'https://git.kernel.org/stable/c/3913f0179ba366f7d7d160c506ce00de1602bbc4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4ff3d517cebe8a29b9f3c302b5292bb1ce291e00'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b892c57a3a04c8de247ab9ee08a0a8cf53290e19'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50393.json
  - url: 'https://access.redhat.com/security/cve/CVE-2022-50393'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2396403'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2022-50393'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-50393'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2025091853-CVE-2022-50393-d5da@gregkh/T
  - url: 'https://access.redhat.com/errata/RHSA-2023:7077'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00166
epssPercentile: 0.05762
ingestedAt: '2026-08-15T13:26:45.657Z'
cwe:
  - CWE-400
scores:
  nvd: 7.8
  vendor: 4.7
---

## Overview

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

- `linux_kernel >= 4.2, < 5.19.17`
- `linux_kernel >= 6.0, < 6.0.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.0.3`

## Vendor advisories

- **RHSA-2023:7077** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat CodeReady Linux Builder (v. 8) · released 2023-11-14 · [advisory](https://access.redhat.com/errata/RHSA-2023:7077)
