{"id":"CVE-2025-40191","published":"2025-11-12T21:56:31Z","modified":"2026-05-11T21:44:31Z","title":"drm/amdkfd: Fix kfd process ref leaking when userptr unmapping","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Fix kfd process ref leaking when userptr unmapping\n\nkfd_lookup_process_by_pid hold the kfd process reference to ensure it\ndoesn't get destroyed while sending the segfault event to user space.\n\nCalling kfd_lookup_process_by_pid as function parameter leaks the kfd\nprocess refcount and miss the NULL pointer check if app process is\nalready destroyed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00184,"percentile":0.07954,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/60f6112fc9b3ba0eae519f10702c0c13bab45742","tags":[]},{"url":"https://git.kernel.org/stable/c/58e6fc2fb94f0f409447e5d46cf6a417b6397fbc","tags":[]}],"priority":{"score":1.6,"factors":[{"name":"EPSS percentile","points":1.59}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2d274bf7099bc5e95fabaa93f23d0eb2977187ad, < 60f6112fc9b3ba0eae519f10702c0c13bab45742",">= 2d274bf7099bc5e95fabaa93f23d0eb2977187ad, < 58e6fc2fb94f0f409447e5d46cf6a417b6397fbc"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2025-150383","exploited":false,"provenance":"source"}}