CVE-2022-50619

Source
https://cve.org/CVERecord?id=CVE-2022-50619
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50619.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50619
Downstream
Related
Published
2025-12-08T01:16:32.726Z
Modified
2026-03-12T03:26:42.019009Z
Summary
drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()
Details

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

drm/amdkfd: Fix memory leak in kfdmemdmamap_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50619.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
264fb4d332f5e76743818480e482464437837c52
Fixed
304a10161696d86300ceab1cbe72b2d74b8cdd94
Fixed
c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58
Fixed
90bfee142af0f0e9d3bec80e7acd5f49b230acf7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50619.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.0
Fixed
5.15.77
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50619.json"