CVE-2026-99320
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().
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-99320 NameCVE-2026-99320 DescriptionIn 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…
CVE-2026-99320
| Name | CVE-2026-99320 |
| 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(). |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.192-2 | vulnerable | |
| trixie | 6.12.107-1 | vulnerable | |
| trixie (security) | 6.12.117-1 | vulnerable | |
| forky | 7.3.4-1 | vulnerable | |
| sid | 7.3.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | (unstable) | 7.3.5-1 |
Notes
https://git.kernel.org/linus/66dfb2cacda7faae614d688943d85e75abf7f586 (7.4-rc2)
Apply commands
https://git.kernel.org/linus/66dfb2cacda7faae614d688943d85e75abf7f586 (7.4-rc2)
OS impact
Azure Linux Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.118-1 |
| sid | linux |
Fixed | 7.3.5-1 |
| forky | linux |
Fixed | 7.3.5-1 |
| bookworm | linux |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec
- https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148
- https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586
- https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076
- https://www.suse.com/security/cve/CVE-2026-99320.html
- https://security-tracker.debian.org/tracker/CVE-2026-99320
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-99320
- https://git.kernel.org/stable/c/6cf361f77b4b329ad009daa63397a32bab95b1d0
- https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d
- https://git.kernel.org/stable/c/cf0ac98b750292a2389cd21af7cf0e89c712ee09
- https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.