CVE-2025-40168 Details
Description
In the Linux kernel, the following vulnerability has been resolved: smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match(). smc_clc_prfx_match() is called from smc_listen_work() and not under RCU nor RTNL. Using sk_dst_get(sk)->dev could trigger UAF. Let's use __sk_dst_get() and dst_dev_rcu(). Note that the returned value of smc_clc_prfx_match() is not used in the caller.
A use-after-free vulnerability has been identified in the Linux kernel's Socket Memory Control (SMC) implementation. The issue arises in the 'smc_clc_prfx_match' function, which is called by 'smc_listen_work' without proper protection under Read-Copy Update (RCU) or the Route Netlink (RTNL) lock. This oversight can lead to accessing a freed memory reference by using 'sk_dst_get(sk)->dev', potentially causing a use-after-free condition. The vulnerability has been addressed by modifying the function to use '__sk_dst_get()' and 'dst_dev_rcu()' instead, ensuring safer memory access.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is '235f81045c008169cc4e1955b4a64e118eebe61b', which is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/235f81045c008169cc4e1955b4a64e118eebe61b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/326e5cf301d0bec0a672aa834d8254c4f9df6255 | kernel.org | |
| https://git.kernel.org/stable/c/3f119c37aa293af41400cccb3d89fab8dcf774b0 | kernel.org | |
| https://git.kernel.org/stable/c/4f5f52a5842937f945582a93cb9daed9ea526fee | kernel.org | |
| https://git.kernel.org/stable/c/d26e80f7fb62d77757b67a1b94e4ac756bc9c658 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Sep 2, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion