{"id":"CVE-2026-98596","summary":"ipv6: Fix dst leak for uncached routes.","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Fix dst leak for uncached routes.\n\nip6_route_output_flags(), ip6_rt_put_flags(), and ip6_dst_check()\ndetect an uncached route by list_empty(&rt-\u003edst.rt_uncached),\nwhich replaced the static DST_NOCACHE flag check in commit\na4c2fd7f7891 (\"net: remove DST_NOCACHE flag\").\n\nWhen a device is unregistered, rt6_uncached_list_flush_dev()\nunlinks uncached routes tied to the device from rt6_uncached_list.\n\nPreviously, they were moved to another list with list_move()\n(__list_del_entry() + list_add()), and since commit 98aa546af5e4\n(\"inet: remove (struct uncached_list)-\u003equarantine\"), the routes\nare just unlinked with list_del_init().\n\nIf list_del_init() runs concurrently, list_empty() evaluates to\ntrue; ip6_route_output_flags() calls dst_hold_safe() incorrectly\nand ip6_rt_put_flags() skips ip6_rt_put(), leaking dst, and thus\ndev tied via rt-\u003efrom as well.\n\nThe same race is partially fixed by commit 9a6f0c4d5796 (\"dst:\nfix races in rt6_uncached_list_del() and rt_del_uncached_list()\").\n\nLet's check rt6-\u003edst.rt_uncached_list instead.\n\nNote that IPv4 does not have the same issue.","modified":"2026-10-20T02:30:16.689719609Z","published":"2026-10-18T15:19:09.189Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98596.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5045aa25f3790dcdb158a58ac60ccf8da42959aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be31fe6333f534155e6b408f1ef6d77974bb41aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed902d5546fb9c142b3216d8eec914fa1bc0aa80"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9722746df13a8a29103c847ef56b02c11ce0963"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98596.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98596"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"98aa546af5e4f180439c82da403cc77926d3953b"},{"fixed":"5045aa25f3790dcdb158a58ac60ccf8da42959aa"},{"fixed":"ed902d5546fb9c142b3216d8eec914fa1bc0aa80"},{"fixed":"f9722746df13a8a29103c847ef56b02c11ce0963"},{"fixed":"be31fe6333f534155e6b408f1ef6d77974bb41aa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98596.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98596.json"}}],"schema_version":"1.9.0"}