DEBIAN-CVE-2025-40139
Record from OSV · Published November 12, 2025
In the Linux kernel, the following vulnerability has been resolved: smc: Use __sk_dst_get() and dst_dev_rcu() in in smc_clc_prfx_set(). smc_clc_prfx_set() is called during connect() and not under RCU nor RTNL. Using sk_dst_get(sk)->dev could trigger UAF. Let's use __sk_dst_get() and dev_dst_rcu() under rcu_read_lock() after kernel_getsockname(). Note that the returned value of smc_clc_prfx_set() is not used in the caller. While at it, we change the 1st arg of smc_clc_prfx_set[46]_rcu() not to touch dst there.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:13 | 6.12.111-1 |
| linux-6.12 | Debian:12 | 6.12.111-1~deb12u1 |
| linux | Debian:12 | 6.1.187-1 |
| linux | Debian:14 | 6.17.6-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | linux | 6.12.100-1, 6.12.107-1, 6.12.105-1 |
| Debian:12 | linux-6.12 | 6.12.107-1~deb12u1, 6.12.101-1~deb12u1, 6.12.100-1~deb12u1 |
| Debian:12 | linux | 6.1.180-1, 0, 6.1.106-1 |
| Debian:14 | linux | 6.12.96-1, 6.12.95-1~bpo12+1, 6.12.95-1 |
Timeline
- Nov 12, 2025 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-40139
vulnetix vdb fixes DEBIAN-CVE-2025-40139
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/DEBIAN-CVE-2025-40139/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart