CVE-2022-50619Missing Release of Resource after Effective Lifetime in Linux

Severity
5.5MEDIUM
No vector
EPSS
0.0%
top 90.90%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 8

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.

Affected Packages4 packages

Linuxlinux/linux_kernel5.14.05.15.77+1
Debianlinux/linux_kernel< 6.0.7-1+2
CVEListV5linux/linux264fb4d332f5e76743818480e482464437837c52304a10161696d86300ceab1cbe72b2d74b8cdd94+3
debiandebian/linux< linux 6.0.7-1 (bookworm)

🔴Vulnerability Details

3
OSV
CVE-2022-50619: 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 fro2025-12-08
GHSA
GHSA-c6cx-jmr3-qhwx: 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 f2025-12-08
OSV
drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()2025-12-08

📋Vendor Advisories

2
Red Hat
kernel: drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()2025-12-08
Debian
CVE-2022-50619: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd:...2022