{"id":"CVE-2026-99320","summary":"ipv6: raw: fix use-after-free in rawv6_send_hdrinc()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: raw: fix use-after-free in rawv6_send_hdrinc()\n\nrawv6_send_hdrinc() caches the route before handing the skb to\nl3mdev_ip6_out(). The VRF output path may replace skb-\u003edst and release\nthe original route, leaving the cached pointer stale.\n\nThe function later dereferences that pointer for statistics accounting\nand as the output device passed to NF_HOOK(). Its RCU read-side critical\nsection starts after l3mdev_ip6_out(), so it cannot prevent the old route\nfrom being reclaimed in between.\n\nReload the route from the current skb destination after\nl3mdev_ip6_out() returns.\n\nKASAN reports a slab-use-after-free in rawv6_sendmsg(), with the route\nallocated by ip6_dst_alloc(), freed by dst_destroy() from rcu_core(), and\nthe related RCU callback queued from vrf_l3_out().","modified":"2026-11-23T10:02:24.363406825Z","published":"2026-11-19T08:09:56.238Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99320.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cf361f77b4b329ad009daa63397a32bab95b1d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf0ac98b750292a2389cd21af7cf0e89c712ee09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99320.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99320"},{"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":"4c1feac58e06270321cc500b85c2d94a11495775"},{"fixed":"cf0ac98b750292a2389cd21af7cf0e89c712ee09"},{"fixed":"a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d"},{"fixed":"f38df644608ffd1253074f6d55103c1d8b2a197c"},{"fixed":"6cf361f77b4b329ad009daa63397a32bab95b1d0"},{"fixed":"afb69c90cf62b630bf74c82d7bcfca840db8b076"},{"fixed":"3fda55b34d8f1621676f1238728c16033dff1148"},{"fixed":"18772182967f9a0160dc7ada43311eab87c3d9ec"},{"fixed":"66dfb2cacda7faae614d688943d85e75abf7f586"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99320.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.9.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99320.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}