{"id":"CVE-2025-40170","summary":"net: use dst_dev_rcu() in sk_setup_caps()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: use dst_dev_rcu() in sk_setup_caps()\n\nUse RCU to protect accesses to dst-\u003edev from sk_setup_caps()\nand sk_dst_gso_max_size().\n\nAlso use dst_dev_rcu() in ip6_dst_mtu_maybe_forward(),\nand ip_dst_mtu_maybe_forward().\n\nip4_dst_hoplimit() can use dst_dev_net_rcu().","modified":"2026-04-02T12:48:18.504225Z","published":"2025-11-12T10:46:52.014Z","related":["ALSA-2026:1690","ALSA-2026:2212","ALSA-2026:2264","ALSA-2026:2378","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40170.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5d1be493d1110c9e720b4c51a6e587bb2fb4ac12"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99a2ace61b211b0be861b07fbaa062fca4b58879"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a805729c0091073d8f0415cfa96c7acd1bc17a48"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40170.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40170"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36"},{"fixed":"5d1be493d1110c9e720b4c51a6e587bb2fb4ac12"},{"fixed":"a805729c0091073d8f0415cfa96c7acd1bc17a48"},{"fixed":"99a2ace61b211b0be861b07fbaa062fca4b58879"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40170.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"6.12.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40170.json"}}],"schema_version":"1.7.5"}