CVE-2025-40168
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-12
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 involves improper use of certain functions in the smc_clc_prfx_match() function. Specifically, smc_clc_prfx_match() uses sk_dst_get(sk)->dev, which can trigger a use-after-free (UAF) condition because it is called from smc_listen_work() without proper synchronization (not under RCU nor RTNL). The fix involves using __sk_dst_get() and dst_dev_rcu() to safely access the device pointer and avoid the UAF.
How can this vulnerability impact me? :
This vulnerability can lead to a use-after-free condition in the Linux kernel, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the kernel memory corruption.