CVE-2025-40191
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| 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.