CVE-2025-40191
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-12

Last updated on: 2025-11-14

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-12
Last Modified
2025-11-14
Generated
2026-05-07
AI Q&A
2025-11-13
EPSS Evaluated
2026-05-05
NVD
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 in the Linux kernel's drm/amdkfd component involves a reference leak of the kfd process when unmapping user pointers. Specifically, the function kfd_lookup_process_by_pid holds a reference to the kfd process to prevent it from being destroyed while sending a segfault event to user space. However, when kfd_lookup_process_by_pid is called as a function parameter, it leaks the kfd process reference count and misses a NULL pointer check if the application process has already been destroyed.


How can this vulnerability impact me? :

The vulnerability can lead to a reference count leak in the kernel process management, which may cause resource leaks or instability in the system. If the reference count is leaked and the NULL pointer check is missed, it could potentially result in use-after-free or other memory management issues, possibly leading to system crashes or unexpected behavior.


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