{"id":"CVE-2022-50619","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-12-08T02:15:47.727","lastModified":"2026-11-11T23:10:00.263","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/amdkfd: Corrección de fuga de memoria en kfd_mem_dmamap_userptr()\n\nSi el número de páginas del BO userptr difiere del BO SG, entonces la memoria asignada para la tabla SG no se libera antes de devolver -EINVAL, lo que puede provocar una fuga de memoria en algunas rutas de error. Esto se corrige comprobando el número de páginas antes de asignar memoria para la tabla SG."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"264fb4d332f5e76743818480e482464437837c52","lessThan":"304a10161696d86300ceab1cbe72b2d74b8cdd94","versionType":"git","status":"affected"},{"version":"264fb4d332f5e76743818480e482464437837c52","lessThan":"c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58","versionType":"git","status":"affected"},{"version":"264fb4d332f5e76743818480e482464437837c52","lessThan":"90bfee142af0f0e9d3bec80e7acd5f49b230acf7","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","versionType":"semver","status":"unaffected"},{"version":"5.15.77","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.0.7","lessThanOrEqual":"6.0.*","versionType":"semver","status":"unaffected"},{"version":"6.1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/304a10161696d86300ceab1cbe72b2d74b8cdd94","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/90bfee142af0f0e9d3bec80e7acd5f49b230acf7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}