Menu

Star on GitHub · 3.2k

CVE-2022-50303

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix double release compute pasid If kfd_process_device_init_vm returns failure after vm is converted to compute vm…

Published Sep 15, 2025CWE-415EPSS 0.17%

Overview

CVE-2022-50303 is a high-severity vulnerability. It was published on September 15, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

drm/amdkfd: Fix double release compute pasid

If kfd_process_device_init_vm returns failure after vm is converted to

compute vm and vm->pasid set to compute pasid, KFD will not take

pdd->drm_file reference. As a result, drm close file handler maybe

called to release the compute pasid before KFD process destroy worker to

release the same pasid and set vm->pasid to zero, this generates below

WARNING backtrace and NULL pointer access.

Add helper amdgpu_amdkfd_gpuvm_set_vm_pasid and call it at the last step

of kfd_process_device_init_vm, to ensure vm pasid is the original pasid

if acquiring vm failed or is the compute pasid with pdd->drm_file

reference taken to avoid double release same pasid.

amdgpu: Failed to create process VM object

ida_free called for id=32770 which is not allocated.

WARNING: CPU: 57 PID: 72542 at ../lib/idr.c:522 ida_free+0x96/0x140

RIP: 0010:ida_free+0x96/0x140

Call Trace:

amdgpu_pasid_free

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-50303?

CVE-2022-50303 is a high-severity vulnerability. It was published on September 15, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-50303?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-50303?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-50303?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-50303 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2022

View all