VDB

CVE-2025-40168

CVE-2025-40168 PUBLISHED CVSS 8.1 HIGH

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.

PackageEcosystemFixed in
kernel-modules-coreerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.aarch64
kernel-rt-debug-develerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.x86_64
kernel-rt-develerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.aarch64
kernel-debug-devel-matchederrata.rockylinux.org0: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-coreerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.aarch64
kernel-debugerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.ppc64le
kernel-tools-debuginfoerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.aarch64
libperferrata.rockylinux.org0:5.14.0-611.36.1.el9_7.x86_64
kernel-debug-moduleserrata.rockylinux.org0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.s390x
kernel-debug-develerrata.rockylinux.org0: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-coreerrata.rockylinux.org0:5.14.0-611.36.1.el9_7.x86_64, 0:5.14.0-611.36.1.el9_7.aarch64
kernel-moduleserrata.rockylinux.org0:5.14.0-611.36.1.el9_7.x86_64

36 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
LinuxLinuxa046d57da19f812216f393e7c535f5858f793ac3, a046d57da19f812216f393e7c535f5858f793ac3, a046d57da19f812216f393e7c535f5858f793ac3
LinuxLinux4.11, 0, 6.1.187
LinuxLinux6.12.108, 6.17.3, 0
linuxlinux_kernel4.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

References

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