CVE-2025-40168
smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().
Reported by linux · Published November 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-core | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.aarch64 |
| kernel-rt-debug-devel | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64 |
| kernel-rt-devel | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.aarch64 |
| kernel-debug-devel-matched | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.ppc64le |
| kernel-rt-64k-debug-modules-core | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.aarch64 |
| kernel-debug | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.ppc64le |
| kernel-tools-debuginfo | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.aarch64 |
| libperf | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64 |
| kernel-debug-modules | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.s390x |
| kernel-debug-devel | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.s390x, 0:5.14.0-611.36.1.el9_7.ppc64le |
| kernel-debug-core | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.aarch64 |
| kernel-modules | errata.rockylinux.org | 0:5.14.0-611.36.1.el9_7.x86_64 |
36 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a046d57da19f812216f393e7c535f5858f793ac3, a046d57da19f812216f393e7c535f5858f793ac3, a046d57da19f812216f393e7c535f5858f793ac3 |
| Linux | Linux | 4.11, 0, 6.1.187 |
| Linux | Linux | 6.12.108, 6.17.3, 0 |
| linux | linux_kernel | 4.11, 4.11, 4.11 |
Timeline
- Nov 11, 2025 CVE Published
- Nov 12, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (178 in total, the first dated here)
- Mar 29, 2026 Security Advisory (183 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40168
vulnetix vdb fixes CVE-2025-40168
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40168/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart