{"id":"CVE-2026-99320","aliases":["CVE-2026-99320"],"related":[],"kind":"vulnerability","state":"published","title":"ipv6: raw: fix use-after-free in rawv6_send_hdrinc()","summary":"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->dst 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->dst 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().","source":"cvelist"}],"published":"2026-11-19T08:09:56.238Z","modified":"2026-11-23T08:17:37.363Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"cf0ac98b750292a2389cd21af7cf0e89c712ee09","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"f38df644608ffd1253074f6d55103c1d8b2a197c","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"6cf361f77b4b329ad009daa63397a32bab95b1d0","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"afb69c90cf62b630bf74c82d7bcfca840db8b076","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"3fda55b34d8f1621676f1238728c16033dff1148","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"18772182967f9a0160dc7ada43311eab87c3d9ec","status":"affected"},{"type":"git","introduced":"4c1feac58e06270321cc500b85c2d94a11495775","fixed":"66dfb2cacda7faae614d688943d85e75abf7f586","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","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/cf0ac98b750292a2389cd21af7cf0e89c712ee09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cf361f77b4b329ad009daa63397a32bab95b1d0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99320","url":"https://www.cve.org/CVERecord?id=CVE-2026-99320","licence":"CVE Terms of Use","modified":"2026-11-23T08:01:25.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99320","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99320","licence":"Public domain","modified":"2026-11-23T08:17:37.363Z"}],"updatedAt":"2026-11-25T22:59:51.958Z","epss":{"score":0.0022,"percentile":0.13354,"date":"2026-12-02T12:00:21.000Z"}}