{"id":"CVE-2025-40168","aliases":["CVE-2025-40168"],"related":[],"kind":"vulnerability","state":"published","title":"smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().\n\nsmc_clc_prfx_match() is called from smc_listen_work() and\nnot under RCU nor RTNL.\n\nUsing sk_dst_get(sk)->dev could trigger UAF.\n\nLet's use __sk_dst_get() and dst_dev_rcu().\n\nNote that the returned value of smc_clc_prfx_match() is not\nused in the caller.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().\n\nsmc_clc_prfx_match() is called from smc_listen_work() and\nnot under RCU nor RTNL.\n\nUsing sk_dst_get(sk)->dev could trigger UAF.\n\nLet's use __sk_dst_get() and dst_dev_rcu().\n\nNote that the returned value of smc_clc_prfx_match() is not\nused in the caller.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsmc: Usar __sk_dst_get() y dst_dev_rcu() en smc_clc_prfx_match().\n\nsmc_clc_prfx_match() es llamada desde smc_listen_work() y no bajo RCU ni RTNL.\n\nEl uso de sk_dst_get(sk)->dev podría desencadenar UAF.\n\nUsemos __sk_dst_get() y dst_dev_rcu().\n\nNótese que el valor devuelto por smc_clc_prfx_match() no es utilizado por la función que la llama.","source":"nvd"}],"published":"2025-11-12T10:46:51.422Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a046d57da19f812216f393e7c535f5858f793ac3","fixed":"3f119c37aa293af41400cccb3d89fab8dcf774b0","status":"affected"},{"type":"git","introduced":"a046d57da19f812216f393e7c535f5858f793ac3","fixed":"4f5f52a5842937f945582a93cb9daed9ea526fee","status":"affected"},{"type":"git","introduced":"a046d57da19f812216f393e7c535f5858f793ac3","fixed":"326e5cf301d0bec0a672aa834d8254c4f9df6255","status":"affected"},{"type":"git","introduced":"a046d57da19f812216f393e7c535f5858f793ac3","fixed":"d26e80f7fb62d77757b67a1b94e4ac756bc9c658","status":"affected"},{"type":"git","introduced":"a046d57da19f812216f393e7c535f5858f793ac3","fixed":"235f81045c008169cc4e1955b4a64e118eebe61b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"6.1.187","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.156","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3f119c37aa293af41400cccb3d89fab8dcf774b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f5f52a5842937f945582a93cb9daed9ea526fee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/326e5cf301d0bec0a672aa834d8254c4f9df6255","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d26e80f7fb62d77757b67a1b94e4ac756bc9c658","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/235f81045c008169cc4e1955b4a64e118eebe61b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-16T19:59:59.004Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40168","url":"https://www.cve.org/CVERecord?id=CVE-2025-40168","licence":"CVE Terms of Use","modified":"2026-09-02T12:49:28.040Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40168","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40168","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.564Z","epss":{"score":0.0042,"percentile":0.38281,"date":"2026-12-01T12:00:22.000Z"}}