CVE-2022-50619 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr() If the number of pages from the userptr BO differs from the SG BO then the allocated memory for the SG table doesn't get freed before returning -EINVAL, which may lead to a memory leak in some error paths. Fix this by checking the number of pages before allocating memory for the SG table.
A memory leak vulnerability has been identified in the Linux kernel's handling of DMA mappings for AMD GPUs. This issue arises in the 'kfd_mem_dmamap_userptr' function within the AMD KFD driver. When the number of pages from a user pointer buffer object (BO) does not match the number of pages in the scatter-gather (SG) BO, the memory allocated for the SG table is not properly freed before an error is returned. This oversight can lead to memory leaks in certain error handling paths. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is '90bfee142af0f0e9d3bec80e7acd5f49b230acf7', which is included in the official Linux kernel repositories.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/304a10161696d86300ceab1cbe72b2d74b8cdd94 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/90bfee142af0f0e9d3bec80e7acd5f49b230acf7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| AMD amdkfd | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 8, 2025 | New CVE Received | kernel.org |
Volerion