CVE-2022-50619
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-08

Last updated on: 2025-12-08

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-08
Last Modified
2025-12-08
Generated
2026-05-07
AI Q&A
2025-12-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a memory leak in the Linux kernel's drm/amdkfd component. Specifically, when the number of pages from the userptr buffer object (BO) differs from the scatter-gather (SG) BO, the allocated memory for the SG table is not freed before returning an error (-EINVAL). This can cause memory to be leaked in certain error paths. The fix involves checking the number of pages before allocating memory for the SG table to prevent the leak.


How can this vulnerability impact me? :

The impact of this vulnerability is a potential memory leak in the Linux kernel when handling certain userptr buffer objects in the drm/amdkfd driver. Over time, this could lead to increased memory usage and possibly degrade system performance or stability if the leak occurs frequently or in critical systems.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart