CVE-2022-50619

drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()

published December 8, 2025

CVSS
—
EPSS
0%
Percentile
8.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00197 · 8.9th percentile
Published
2025-12-08T01:16Z
EPSS history
Timeline
  • 08 DEC 01:16Z
    drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()
    cvelistv5