CVE-2025-40168
JSON

8.1high

smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().

Severity
8.1high CVSS:3.1 by Linux
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a046d57da19f812216f393e7c535f5858f793ac3 before 3f119c37aa293af41400cccb3d89fab8dcf774b0, from a046d57da19f812216f393e7c535f5858f793ac3 before 4f5f52a5842937f945582a93cb9daed9ea526fee, from a046d57da19f812216f393e7c535f5858f793ac3 before 326e5cf301d0bec0a672aa834d8254c4f9df6255, from a046d57da19f812216f393e7c535f5858f793ac3 before d26e80f7fb62d77757b67a1b94e4ac756bc9c658, from a046d57da19f812216f393e7c535f5858f793ac3 before 235f81045c008169cc4e1955b4a64e118eebe61b, 4.11
Not affected: before 4.11, from 6.1.187 up to 6.1.*, from 6.6.156 up to 6.6.*, from 6.12.108 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to *
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: smc: Usar __sk_dst_get() y dst_dev_rcu() en smc_clc_prfx_match(). smc_clc_prfx_match() es llamada desde smc_listen_work() y no bajo RCU ni RTNL. El uso de sk_dst_get(sk)->dev podría desencadenar UAF. Usemos __sk_dst_get() y dst_dev_rcu(). Nótese que el valor devuelto por smc_clc_prfx_match() no es utilizado por la función que la llama.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40168 changed 2026-09-02CVE Terms of Use
NVDCVE-2025-40168 changed 2026-10-19Public domain