CVE-2026-99320
published high CVSS 3.1 · 7.0ipv6: raw: fix use-after-free in rawv6_send_hdrinc()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4c1feac58e06270321cc500b85c2d94a11495775 to < cf0ac98b750292a2389cd21af7cf0e89c712ee09 · 4c1feac58e06270321cc500b85c2d94a11495775 to < a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d · 4c1feac58e06270321cc500b85c2d94a11495775 to < f38df644608ffd1253074f6d55103c1d8b2a197c · 4c1feac58e06270321cc500b85c2d94a11495775 to < 6cf361f77b4b329ad009daa63397a32bab95b1d0 · 4c1feac58e06270321cc500b85c2d94a11495775 to < afb69c90cf62b630bf74c82d7bcfca840db8b076 · 4c1feac58e06270321cc500b85c2d94a11495775 to < 3fda55b34d8f1621676f1238728c16033dff1148 · 4c1feac58e06270321cc500b85c2d94a11495775 to < 18772182967f9a0160dc7ada43311eab87c3d9ec · 4c1feac58e06270321cc500b85c2d94a11495775 to < 66dfb2cacda7faae614d688943d85e75abf7f586 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.9 (affected) · 0 to < 4.9 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - sendmsg() on an AF_INET6 SOCK_RAW socket enters rawv6_send_hdrinc() through inet_sendmsg() and rawv6_sendmsg() when HDRINCL is set. The route that vrf_ip6_out_redirect() drops with skb_dst_drop() is the one this local send cached before calling l3mdev_ip6_out(). AC:H - HDRINCL sets FLOWI_FLAG_KNOWN_NH, so ip6_pol_route() returns a one-ref ip6_rt_cache_alloc() route when the nexthop has no gateway, and skb_dst_drop() only call_rcu_hurry()s dst_destroy. rawv6_send_hdrinc() then uses that rt with no attacker-controlled stall after l3mdev_ip6_out() returns, so the slab is reclaimed only if an RCU grace period finishes in that gap. PR:L - inet6_create() requires CAP_NET_RAW in the socket netns user namespace. vrf_ip6_out_redirect() runs only when the egress device is an l3 slave and qdisc_tx_is_default() is false, and creating that VRF and qdisc needs CAP_NET_ADMIN in rtnetlink_rcv_msg(). An unprivileged user gets both via a user and network namespace. UI:N - The attacker opens the AF_INET6 SOCK_RAW socket, adds the VRF qdisc, and calls sendmsg() to an on-link global address. S:U - The freed object is the rt6_info for this socket's own output route, and the corruption is kernel memory in the caller's security domain. C:H - After dst_destroy() frees the rt6_info, rawv6_send_hdrinc() loads rt->rt6i_idev for IP6_INC_STATS() and rt->dst.dev for NF_HOOK(). Reclaiming that ip6_dst_ops slab lets the attacker choose those pointers and disclose kernel memory through the resulting dereferences. I:H - IP6_INC_STATS() increments a counter through the freed rt->rt6i_idev, and NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT) uses the freed rt->dst.dev as the output net_device. Reusing the route slab supplies those pointers and yields a kernel write. A:H - dst_destroy() frees the route from rcu_core() after vrf_l3_out() queues the callback, and rawv6_send_hdrinc() then dereferences it. That slab use-after-free oopses the kernel; KASAN reports it in rawv6_sendmsg().
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4c1feac58e06270321cc500b85c2d94a11495775 to < cf0ac98b750292a2389cd21af7cf0e89c712ee09 (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < f38df644608ffd1253074f6d55103c1d8b2a197c (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < 6cf361f77b4b329ad009daa63397a32bab95b1d0 (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < afb69c90cf62b630bf74c82d7bcfca840db8b076 (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < 3fda55b34d8f1621676f1238728c16033dff1148 (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < 18772182967f9a0160dc7ada43311eab87c3d9ec (affected · git)4c1feac58e06270321cc500b85c2d94a11495775 to < 66dfb2cacda7faae614d688943d85e75abf7f586 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.9 (affected)0 to < 4.9 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- 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/6cf361f77b4b329ad009daa63397a32bab95b1d0
- https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d
- https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076
- https://git.kernel.org/stable/c/cf0ac98b750292a2389cd21af7cf0e89c712ee09
- https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c
Provider assertions
1Linux · cna
ipv6: raw: fix use-after-free in rawv6_send_hdrinc()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 98c3363dbda983d9200397cf12237bc1b07e2351689507277847eda454d44d7a
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record