{"id":"CVE-2022-50619","published":"2025-12-08T01:16:32Z","modified":"2026-05-11T19:22:20Z","title":"drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()\n\nIf the number of pages from the userptr BO differs from the SG BO then the\nallocated memory for the SG table doesn't get freed before returning\n-EINVAL, which may lead to a memory leak in some error paths. Fix this by\nchecking the number of pages before allocating memory for the SG table.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00213,"percentile":0.11628,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/304a10161696d86300ceab1cbe72b2d74b8cdd94","tags":[]},{"url":"https://git.kernel.org/stable/c/c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58","tags":[]},{"url":"https://git.kernel.org/stable/c/90bfee142af0f0e9d3bec80e7acd5f49b230acf7","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.33}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 264fb4d332f5e76743818480e482464437837c52, < 304a10161696d86300ceab1cbe72b2d74b8cdd94",">= 264fb4d332f5e76743818480e482464437837c52, < c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58",">= 264fb4d332f5e76743818480e482464437837c52, < 90bfee142af0f0e9d3bec80e7acd5f49b230acf7"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"euvd":{"id":"EUVD-2022-55693","exploited":false,"provenance":"source"}}