# CVE-2026-99320: ipv6: raw: fix use-after-free in rawv6_send_hdrinc()

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2026-11-19T08:09:56.238Z
- Modified: 2026-11-23T08:17:37.363Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipv6: raw: fix use-after-free in rawv6_send_hdrinc()

rawv6_send_hdrinc() caches the route before handing the skb to
l3mdev_ip6_out(). The VRF output path may replace skb->dst and release
the original route, leaving the cached pointer stale.

The function later dereferences that pointer for statistics accounting
and as the output device passed to NF_HOOK(). Its RCU read-side critical
section starts after l3mdev_ip6_out(), so it cannot prevent the old route
from being reclaimed in between.

Reload the route from the current skb destination after
l3mdev_ip6_out() returns.

KASAN reports a slab-use-after-free in rawv6_sendmsg(), with the route
allocated by ip6_dst_alloc(), freed by dst_destroy() from rcu_core(), and
the related RCU callback queued from vrf_l3_out().

(As written by CVE List.)

## Affected

- Linux Linux: from 4c1feac58e06270321cc500b85c2d94a11495775 before cf0ac98b750292a2389cd21af7cf0e89c712ee09; from 4c1feac58e06270321cc500b85c2d94a11495775 before a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d; from 4c1feac58e06270321cc500b85c2d94a11495775 before f38df644608ffd1253074f6d55103c1d8b2a197c; from 4c1feac58e06270321cc500b85c2d94a11495775 before 6cf361f77b4b329ad009daa63397a32bab95b1d0; from 4c1feac58e06270321cc500b85c2d94a11495775 before afb69c90cf62b630bf74c82d7bcfca840db8b076; from 4c1feac58e06270321cc500b85c2d94a11495775 before 3fda55b34d8f1621676f1238728c16033dff1148; from 4c1feac58e06270321cc500b85c2d94a11495775 before 18772182967f9a0160dc7ada43311eab87c3d9ec; from 4c1feac58e06270321cc500b85c2d94a11495775 before 66dfb2cacda7faae614d688943d85e75abf7f586; 4.9 (not affected: before 4.9; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/cf0ac98b750292a2389cd21af7cf0e89c712ee09>
- <https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d>
- <https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c>
- <https://git.kernel.org/stable/c/6cf361f77b4b329ad009daa63397a32bab95b1d0>
- <https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076>
- <https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148>
- <https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec>
- <https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586>

## Sources

- CVE List: [CVE-2026-99320](https://www.cve.org/CVERecord?id=CVE-2026-99320), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99320](https://nvd.nist.gov/vuln/detail/CVE-2026-99320), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99320 · Whole record: https://cve.day/CVE-2026-99320.json · Rebuilt by cve.day 2026-11-25T22:59:51.958Z
