CVE-2022-50354
drm/amdkfd: Fix kfd_process_device_init_vm error handling
Mitigation
- Upgrade Linux to 29d48b87db64b6697ddad007548e51d032081c59 or later.
Who should check
- Anyone running Linux >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < b6e78bd3bf2eb964c95eb2596d3cd367307a20b5; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 29d48b87db64b6697ddad007548e51d032081c59
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < b6e78bd3bf2eb964c95eb2596d3cd367307a20b5; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 29d48b87db64b6697ddad007548e51d032081c59; Linux 5.16
- Fixed in
- Linux 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9, Linux 29d48b87db64b6697ddad007548e51d032081c59
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix kfd_process_device_init_vm error handling Should only destroy the ib_mem and let process cleanup worker to free the outstanding BOs. Reset the pointer in pdd->qpd structure, to avoid NULL pointer access in process destroy worker. BUG: kernel NULL pointer dereference, address: 0000000000000010 Call Trace: amdgpu_amdkfd_gpuvm_unmap_gtt_bo_from_kernel+0x46/0xb0 [amdgpu] kfd_process_device_destroy_cwsr_dgpu+0x40/0x70 [amdgpu] kfd_process_destroy_pdds+0x71/0x190 [amdgpu] kfd_process_wq_release+0x2a2/0x3b0 [amdgpu] process_one_work+0x2a1/0x600 worker_thread+0x39/0x3d0
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < b6e78bd3bf2eb964c95eb2596d3cd367307a20b5; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 29d48b87db64b6697ddad007548e51d032081c59 | — | cvelist |
| Linux | 5.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50354. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50354.md Affected: Linux >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < b6e78bd3bf2eb964c95eb2596d3cd367307a20b5; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 29d48b87db64b6697ddad007548e51d032081c59; Linux 5.16 Fixed in: Linux 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9, Linux 29d48b87db64b6697ddad007548e51d032081c59 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-50354 being exploited?
There is no confirmed exploitation: CVE-2022-50354 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50354?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50354?
Linux >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < b6e78bd3bf2eb964c95eb2596d3cd367307a20b5; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9; >= 68df0f195a689bbb0f92bfeadee6edd90c79c31f, < 29d48b87db64b6697ddad007548e51d032081c59; Linux 5.16.
Is there a fix for CVE-2022-50354?
Yes. Fixed in Linux 9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9, Linux 29d48b87db64b6697ddad007548e51d032081c59. Upgrade Linux to 29d48b87db64b6697ddad007548e51d032081c59 or later.
How do I check if I'm affected by CVE-2022-50354?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.