CVE-2025-40191
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix kfd process ref leaking when userptr unmapping kfd_lookup_process_by_pid hold the kfd process reference to ensure it doesn't get destroyed while sending the segfault event to user space. Calling kfd_lookup_process_by_pid as function parameter leaks the kfd process refcount and miss the NULL pointer check if app process is already destroyed.
Affected versions
Linux kernel versions
6.16
and later are affected. Fixed in
6.17.4,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40191 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/58e6fc2fb94f0f409447e5d46cf6a417b6397fbc
-
PatchKernel patch commithttps://git.kernel.org/stable/c/60f6112fc9b3ba0eae519f10702c0c13bab45742
Frequently asked questions
-
What is CVE-2025-40191?
CVE-2025-40191 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.16 onward and has been patched in 6.17.4 and 6.18. CVE-2025-40191 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40191?
Yes — CVE-2025-40191 has been patched. Fixed versions include 6.17.4 and 6.18. If you are running Linux kernel 6.16 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40191 actively exploited?
No — CVE-2025-40191 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.