Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50303

published high CVSS 3.1 · 7.8

drm/amdkfd: Fix double release compute pasid

Published
15 Sep 2025, 14:45:58 UTC
Updated
15 Oct 2026, 21:31:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1685b01a858872075bc258a350153de0c7e95404 to < 89f0d766c9e3fdeafbed6f855d433c2768cde862 · 1685b01a858872075bc258a350153de0c7e95404 to < a02c07b619899179384fde06f951530438a3512d · 1685b01a858872075bc258a350153de0c7e95404 to < 1a799c4c190ea9f0e81028e3eb3037ed0ab17ff5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.20 (affected) · 0 to < 4.20 (unaffected · semver) · 6.0.19 through 6.0.* (unaffected · semver) · 6.1.5 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583

Package entries are limited to the first 100 builds and 100 linked advisories.

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_delayed+0xe1/0x2a0 [amdgpu] amdgpu_driver_postclose_kms+0x2d8/0x340 [amdgpu] drm_file_free.part.13+0x216/0x270 [drm] drm_close_helper.isra.14+0x60/0x70 [drm] drm_release+0x6e/0xf0 [drm] __fput+0xcc/0x280 ____fput+0xe/0x20 task_work_run+0x96/0xc0 do_exit+0x3d0/0xc10 BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:ida_free+0x76/0x140 Call Trace: amdgpu_pasid_free_delayed+0xe1/0x2a0 [amdgpu] amdgpu_driver_postclose_kms+0x2d8/0x340 [amdgpu] drm_file_free.part.13+0x216/0x270 [drm] drm_close_helper.isra.14+0x60/0x70 [drm] drm_release+0x6e/0xf0 [drm] __fput+0xcc/0x280 ____fput+0xe/0x20 task_work_run+0x96/0xc0 do_exit+0x3d0/0xc10

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Reachable only via local ioctls on /dev/kfd (AMDKFD_IOC_ACQUIRE_VM) together with an amdgpu DRM render-node fd; no network or adjacent-protocol path exists. AC:L - An unprivileged GPU user can induce post-PASID-assignment failure (e.g., memory pressure in init_kfd_vm or GPUVM alloc for IB/CWSR) and then close the DRM fd before KFD teardown, fully controlling the double-free sequence. PR:L - Requires only ordinary access to /dev/kfd and render nodes (render group / seat uaccess, mode 0660); AMDKFD_IOC_ACQUIRE_VM has no capability flag and does not need root. UI:N - The attacker triggers the failing acquire_vm ioctl and subsequent fd close/exit entirely with their own process; no victim action is required. S:U - Impact stays within the host kernel’s authority (local DoS / same-host GPU PASID isolation failure); this is not a VM escape or cross-authority boundary breach. C:H - Double-free of the PASID ID allows reallocation to another process between frees, enabling PASID/IOMMU address-space confusion and cross-process GPU memory disclosure in the worst reasonable deployment. I:H - The same PASID reuse can overwrite VM lookups in the PASID xarray and break IOMMU isolation, giving a path to corrupt another process’s GPU address space; double-free is treated as high integrity impact. A:H - The documented second ida_free hits a NULL bitmap and causes a kernel NULL-pointer dereference/oops, reliably denying service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1685b01a858872075bc258a350153de0c7e95404 to < 89f0d766c9e3fdeafbed6f855d433c2768cde862 (affected · git)1685b01a858872075bc258a350153de0c7e95404 to < a02c07b619899179384fde06f951530438a3512d (affected · git)1685b01a858872075bc258a350153de0c7e95404 to < 1a799c4c190ea9f0e81028e3eb3037ed0ab17ff5 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.20 (affected)0 to < 4.20 (unaffected · semver)6.0.19 through 6.0.* (unaffected · semver)6.1.5 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

drm/amdkfd: Fix double release compute pasid

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
f1cf3819e59be5a061887785de0c43e969b455846b953f207c1c03a1b59e8b44
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected