CVE-2022-50393 (GCVE-0-2022-50393)
Vulnerability from cvelistv5
Published
2025-09-18 13:33
Modified
2026-08-15 12:23
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 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
Impacted products
Vendor Product Version
Linux Linux Version: 8bb31587820a6e04cb613b49238b1800d1a97223
Version: 8bb31587820a6e04cb613b49238b1800d1a97223
Version: 8bb31587820a6e04cb613b49238b1800d1a97223
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-50393",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T18:51:05.793062Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "description": "CWE-noinfo Not enough information",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:53:05.725Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b892c57a3a04c8de247ab9ee08a0a8cf53290e19",
              "status": "affected",
              "version": "8bb31587820a6e04cb613b49238b1800d1a97223",
              "versionType": "git"
            },
            {
              "lessThan": "4ff3d517cebe8a29b9f3c302b5292bb1ce291e00",
              "status": "affected",
              "version": "8bb31587820a6e04cb613b49238b1800d1a97223",
              "versionType": "git"
            },
            {
              "lessThan": "3913f0179ba366f7d7d160c506ce00de1602bbc4",
              "status": "affected",
              "version": "8bb31587820a6e04cb613b49238b1800d1a97223",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.17",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.3",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: SDMA update use unlocked iterator\n\nSDMA update page table may be called from unlocked context, this\ngenerate below warning. Use unlocked iterator to handle this case.\n\nWARNING: CPU: 0 PID: 1475 at\ndrivers/dma-buf/dma-resv.c:483 dma_resv_iter_next\nCall Trace:\n dma_resv_iter_first+0x43/0xa0\n amdgpu_vm_sdma_update+0x69/0x2d0 [amdgpu]\n amdgpu_vm_ptes_update+0x29c/0x870 [amdgpu]\n amdgpu_vm_update_range+0x2f6/0x6c0 [amdgpu]\n svm_range_unmap_from_gpus+0x115/0x300 [amdgpu]\n svm_range_cpu_invalidate_pagetables+0x510/0x5e0 [amdgpu]\n __mmu_notifier_invalidate_range_start+0x1d3/0x230\n unmap_vmas+0x140/0x150\n unmap_region+0xa8/0x110"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Reachable only via local KFD SVM: open /dev/kfd, set up an SVM range, then munmap triggers svm_range_cpu_invalidate_pagetables \u2192 svm_range_unmap_from_gpus \u2192 amdgpu_vm_update_range(unlocked=true) \u2192 amdgpu_vm_sdma_update; no network or adjacent-link path.\nAC:L - The attacker controls both sides\u2014munmap to hit the unlocked MMU-notifier path while concurrently driving GPU/SVM updates that lock and rewrite the same PD/PT dma_resv fence list\u2014so the race does not depend on conditions outside their influence.\nPR:L - /dev/kfd and DRM render nodes are group-accessible to unprivileged users in the render/video group (typically 0660 root:render) with no capability gate, so init-ns root is not required.\nUI:N - The attacker opens KFD, configures SVM mappings, and unmaps/races GPU updates entirely themselves; no separate victim action is required.\nS:U - Impact stays within the local host kernel privilege boundary as a standard kernel memory-safety/privilege-escalation issue, not a VM, IOMMU, or sandbox escape.\nC:H - The locked iterator walks dma_resv fences without rcu_read_lock or dma_fence_get_rcu while writers may kfree_rcu the list and drop fence refs, yielding a UAF of dma_resv_list/dma_fence usable for arbitrary kernel reads.\nI:H - The same unlocked locked-iteration UAF lets the attacker reclaim freed fence/list objects and build write or control-flow hijacking primitives beyond a pure crash.\nA:H - The path reliably hits dma_resv_assert_held WARN/oops under lockdep, and the concurrent UAF can crash the kernel even without full exploitation, so availability impact is high."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-15T12:23:26.499Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b892c57a3a04c8de247ab9ee08a0a8cf53290e19"
        },
        {
          "url": "https://git.kernel.org/stable/c/4ff3d517cebe8a29b9f3c302b5292bb1ce291e00"
        },
        {
          "url": "https://git.kernel.org/stable/c/3913f0179ba366f7d7d160c506ce00de1602bbc4"
        }
      ],
      "title": "drm/amdgpu: SDMA update use unlocked iterator",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50393",
    "datePublished": "2025-09-18T13:33:12.247Z",
    "dateReserved": "2025-09-17T14:53:06.998Z",
    "dateUpdated": "2026-08-15T12:23:26.499Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-50393\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T18:51:05.793062Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"description\": \"CWE-noinfo Not enough information\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-14T18:50:59.514Z\"}}], \"cna\": {\"title\": \"drm/amdgpu: SDMA update use unlocked iterator\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - Reachable only via local KFD SVM: open /dev/kfd, set up an SVM range, then munmap triggers svm_range_cpu_invalidate_pagetables \\u2192 svm_range_unmap_from_gpus \\u2192 amdgpu_vm_update_range(unlocked=true) \\u2192 amdgpu_vm_sdma_update; no network or adjacent-link path.\\nAC:L - The attacker controls both sides\\u2014munmap to hit the unlocked MMU-notifier path while concurrently driving GPU/SVM updates that lock and rewrite the same PD/PT dma_resv fence list\\u2014so the race does not depend on conditions outside their influence.\\nPR:L - /dev/kfd and DRM render nodes are group-accessible to unprivileged users in the render/video group (typically 0660 root:render) with no capability gate, so init-ns root is not required.\\nUI:N - The attacker opens KFD, configures SVM mappings, and unmaps/races GPU updates entirely themselves; no separate victim action is required.\\nS:U - Impact stays within the local host kernel privilege boundary as a standard kernel memory-safety/privilege-escalation issue, not a VM, IOMMU, or sandbox escape.\\nC:H - The locked iterator walks dma_resv fences without rcu_read_lock or dma_fence_get_rcu while writers may kfree_rcu the list and drop fence refs, yielding a UAF of dma_resv_list/dma_fence usable for arbitrary kernel reads.\\nI:H - The same unlocked locked-iteration UAF lets the attacker reclaim freed fence/list objects and build write or control-flow hijacking primitives beyond a pure crash.\\nA:H - The path reliably hits dma_resv_assert_held WARN/oops under lockdep, and the concurrent UAF can crash the kernel even without full exploitation, so availability impact is high.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"8bb31587820a6e04cb613b49238b1800d1a97223\", \"lessThan\": \"b892c57a3a04c8de247ab9ee08a0a8cf53290e19\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bb31587820a6e04cb613b49238b1800d1a97223\", \"lessThan\": \"4ff3d517cebe8a29b9f3c302b5292bb1ce291e00\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bb31587820a6e04cb613b49238b1800d1a97223\", \"lessThan\": \"3913f0179ba366f7d7d160c506ce00de1602bbc4\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.19\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.19\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.19.17\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.19.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b892c57a3a04c8de247ab9ee08a0a8cf53290e19\"}, {\"url\": \"https://git.kernel.org/stable/c/4ff3d517cebe8a29b9f3c302b5292bb1ce291e00\"}, {\"url\": \"https://git.kernel.org/stable/c/3913f0179ba366f7d7d160c506ce00de1602bbc4\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdgpu: SDMA update use unlocked iterator\\n\\nSDMA update page table may be called from unlocked context, this\\ngenerate below warning. Use unlocked iterator to handle this case.\\n\\nWARNING: CPU: 0 PID: 1475 at\\ndrivers/dma-buf/dma-resv.c:483 dma_resv_iter_next\\nCall Trace:\\n dma_resv_iter_first+0x43/0xa0\\n amdgpu_vm_sdma_update+0x69/0x2d0 [amdgpu]\\n amdgpu_vm_ptes_update+0x29c/0x870 [amdgpu]\\n amdgpu_vm_update_range+0x2f6/0x6c0 [amdgpu]\\n svm_range_unmap_from_gpus+0x115/0x300 [amdgpu]\\n svm_range_cpu_invalidate_pagetables+0x510/0x5e0 [amdgpu]\\n __mmu_notifier_invalidate_range_start+0x1d3/0x230\\n unmap_vmas+0x140/0x150\\n unmap_region+0xa8/0x110\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.19.17\", \"versionStartIncluding\": \"5.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.0.3\", \"versionStartIncluding\": \"5.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1\", \"versionStartIncluding\": \"5.19\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-15T12:23:26.499Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-50393\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-15T12:23:26.499Z\", \"dateReserved\": \"2025-09-17T14:53:06.998Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-09-18T13:33:12.247Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…