VDB

DEBIAN-CVE-2025-40139

DEBIAN-CVE-2025-40139 PUBLISHED CVSS 7.800000190734863 HIGH

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.

PackageEcosystemFixed in
linuxDebian:136.12.111-1
linux-6.12Debian:126.12.111-1~deb12u1
linuxDebian:126.1.187-1
linuxDebian:146.17.6-1

Risk scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Debian:13linux6.12.100-1, 6.12.107-1, 6.12.105-1
Debian:12linux-6.126.12.107-1~deb12u1, 6.12.101-1~deb12u1, 6.12.100-1~deb12u1
Debian:12linux6.1.180-1, 0, 6.1.106-1
Debian:14linux6.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›