CVE-2026-99320
ipv6: raw: fix use-after-free in rawv6_send_hdrinc()
- CVSS
- 7
- EPSS
- 0.22% (p13)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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().
Fixed in
18772182967f9a0160dc7ada43311eab87c3d9ec · 3fda55b34d8f1621676f1238728c16033dff1148 · 6.12.118 · 6.18.64 · 66dfb2cacda7faae614d688943d85e75abf7f586 · 6cf361f77b4b329ad009daa63397a32bab95b1d0 · 7.3.5 · a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d · afb69c90cf62b630bf74c82d7bcfca840db8b076 · cf0ac98b750292a2389cd21af7cf0e89c712ee09 · f38df644608ffd1253074f6d55103c1d8b2a197c
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.9.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <18772182967f9a0160dc7ada43311eab87c3d9ec | 18772182967f9a0160dc7ada43311eab87c3d9ec |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <3fda55b34d8f1621676f1238728c16033dff1148 | 3fda55b34d8f1621676f1238728c16033dff1148 |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <66dfb2cacda7faae614d688943d85e75abf7f586 | 66dfb2cacda7faae614d688943d85e75abf7f586 |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <6cf361f77b4b329ad009daa63397a32bab95b1d0 | 6cf361f77b4b329ad009daa63397a32bab95b1d0 |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d | a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <afb69c90cf62b630bf74c82d7bcfca840db8b076 | afb69c90cf62b630bf74c82d7bcfca840db8b076 |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <cf0ac98b750292a2389cd21af7cf0e89c712ee09 | cf0ac98b750292a2389cd21af7cf0e89c712ee09 |
| vendor | Linux | >=4c1feac58e06270321cc500b85c2d94a11495775, <f38df644608ffd1253074f6d55103c1d8b2a197c | f38df644608ffd1253074f6d55103c1d8b2a197c |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076 other
- https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148 other
- https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec other
- https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99320.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99320 advisory
- https://git.kernel.org/stable/c/cf0ac98b750292a2389cd21af7cf0e89c712ee09 other
- https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d other
- https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c other
- https://git.kernel.org/stable/c/6cf361f77b4b329ad009daa63397a32bab95b1d0 other