CVE-2022-50354

Source
https://cve.org/CVERecord?id=CVE-2022-50354
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50354.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50354
Downstream
Related
Published
2025-09-17T14:56:07.596Z
Modified
2026-03-12T03:26:27.321032Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/amdkfd: Fix kfd_process_device_init_vm error handling
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Fix kfdprocessdeviceinitvm 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: amdgpuamdkfdgpuvmunmapgttbofromkernel+0x46/0xb0 [amdgpu] kfdprocessdevicedestroycwsrdgpu+0x40/0x70 [amdgpu] kfdprocessdestroypdds+0x71/0x190 [amdgpu] kfdprocesswqrelease+0x2a2/0x3b0 [amdgpu] processonework+0x2a1/0x600 worker_thread+0x39/0x3d0

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50354.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
68df0f195a689bbb0f92bfeadee6edd90c79c31f
Fixed
b6e78bd3bf2eb964c95eb2596d3cd367307a20b5
Fixed
9d74d1f52e16d8e07f7fbe52e96d6391418a2fe9
Fixed
29d48b87db64b6697ddad007548e51d032081c59

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50354.json"