CVE-2025-40095
BaseFortify
Publication date: 2025-10-30
Last updated on: 2025-10-30
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 occurs in the Linux kernel's USB gadget function f_rndis. After a bind/unbind cycle, a stale notify request (rndis->notify_req) remains. If a subsequent bind operation fails, the error handling code tries to free this stale request, which leads to a NULL pointer dereference when accessing ep->ops->free_request. This can cause a crash or instability in the kernel. The fix refactors the bind path to use an automatic cleanup mechanism (__free()) to prevent this issue.
How can this vulnerability impact me? :
This vulnerability can cause a NULL pointer dereference in the Linux kernel, potentially leading to a kernel crash or system instability. This could result in denial of service or unexpected behavior on systems using the affected USB gadget functionality.