ipv6: raw: fix use-after-free in rawv6_send_hdrinc() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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().
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-129490
- GCVE · GCVE-0-2026-99320
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < cf0ac98b750292a2389cd21af7cf0e89c712ee09 affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < f38df644608ffd1253074f6d55103c1d8b2a197c affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < 6cf361f77b4b329ad009daa63397a32bab95b1d0 affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < afb69c90cf62b630bf74c82d7bcfca840db8b076 affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < 3fda55b34d8f1621676f1238728c16033dff1148 affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < 18772182967f9a0160dc7ada43311eab87c3d9ec affected : ≥ 4c1feac58e06270321cc500b85c2d94a11495775 < 66dfb2cacda7faae614d688943d85e75abf7f586 Other versions : unaffected |
| Linux · Linux | affected : 4.9 unaffected : ≥ 0 < 4.9 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.5 ≤ 7.3.* unaffected : ≥ 7.4-rc2 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |