CVE-2025-40168
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.39%• Percentile: 33%
Affected Systems
- debian•linux
all | all | < 6.1.187-1 | all | < 6.17.6-1
- ubuntu•linux
all | all | all | < 6.17.0-14.14
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | all | all | < 6.17.0-1007.7
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.14
all
- ubuntu•linux-aws-6.17
< 6.17.0-1007.7~24.04.1
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
all
- ubuntu•linux-aws-fips
all
- ubuntu•linux-aws-hwe
all
- ubuntu•linux-azure
all | all | all | all | < 6.17.0-1008.8
- ubuntu•linux-azure-4.15
all
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.14
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.14
all
- ubuntu•linux-azure-fde-6.17
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fips
all
- ubuntu•linux-azure-nvidia
all
- ubuntu•linux-azure-nvidia-6.14
all
- ubuntu•linux-bluefield
all | all
- ubuntu•linux-fips
all
- ubuntu•linux-gcp
all | all | all | all | < 6.17.0-1007.7
- ubuntu•linux-gcp-4.15
all
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
all
Showing first 50 affected entries in server-rendered view.
References (14)
- https://git.kernel.org/stable/c/d26e80f7fb62d77757b67a1b94e4ac756bc9c658
- https://git.kernel.org/stable/c/235f81045c008169cc4e1955b4a64e118eebe61b
- https://ubuntu.com/security/CVE-2025-40168
- https://www.cve.org/CVERecord?id=CVE-2025-40168
- https://ubuntu.com/security/notices/USN-8029-1
- https://ubuntu.com/security/notices/USN-8030-1
- https://ubuntu.com/security/notices/USN-8029-2
- https://ubuntu.com/security/notices/USN-8048-1
- https://ubuntu.com/security/notices/USN-8029-3
- https://security-tracker.debian.org/tracker/CVE-2025-40168
- https://git.kernel.org/stable/c/3f119c37aa293af41400cccb3d89fab8dcf774b0
- https://git.kernel.org/stable/c/4f5f52a5842937f945582a93cb9daed9ea526fee
- https://git.kernel.org/stable/c/326e5cf301d0bec0a672aa834d8254c4f9df6255
- https://ubuntu.com/security/notices/USN-8781-1