CVE-2026-99320 (GCVE-0-2026-99320)
Vulnerability from cvelistv5 – Published: 2026-11-19 08:09 – Updated: 2026-11-19 13:52
VLAI
EPSS
VEX
Title
ipv6: raw: fix use-after-free in rawv6_send_hdrinc()
Summary
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().
Severity
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
4c1feac58e06270321cc500b85c2d94a11495775 , < afb69c90cf62b630bf74c82d7bcfca840db8b076
(git)
Affected: 4c1feac58e06270321cc500b85c2d94a11495775 , < 3fda55b34d8f1621676f1238728c16033dff1148 (git) Affected: 4c1feac58e06270321cc500b85c2d94a11495775 , < 18772182967f9a0160dc7ada43311eab87c3d9ec (git) Affected: 4c1feac58e06270321cc500b85c2d94a11495775 , < 66dfb2cacda7faae614d688943d85e75abf7f586 (git) |
|
| Linux | Linux |
Affected:
4.9
Unaffected: 0 , < 4.9 (semver) Unaffected: 6.12.118 , ≤ 6.12.* (semver) Unaffected: 6.18.64 , ≤ 6.18.* (semver) Unaffected: 7.3.5 , ≤ 7.3.* (semver) Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/ipv6/raw.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "afb69c90cf62b630bf74c82d7bcfca840db8b076",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
},
{
"lessThan": "3fda55b34d8f1621676f1238728c16033dff1148",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
},
{
"lessThan": "18772182967f9a0160dc7ada43311eab87c3d9ec",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
},
{
"lessThan": "66dfb2cacda7faae614d688943d85e75abf7f586",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/ipv6/raw.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.9"
},
{
"lessThan": "4.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.118",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.64",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.118",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.64",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.5",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc2",
"versionStartIncluding": "4.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: raw: fix use-after-free in rawv6_send_hdrinc()\n\nrawv6_send_hdrinc() caches the route before handing the skb to\nl3mdev_ip6_out(). The VRF output path may replace skb-\u003edst and release\nthe original route, leaving the cached pointer stale.\n\nThe function later dereferences that pointer for statistics accounting\nand as the output device passed to NF_HOOK(). Its RCU read-side critical\nsection starts after l3mdev_ip6_out(), so it cannot prevent the old route\nfrom being reclaimed in between.\n\nReload the route from the current skb destination after\nl3mdev_ip6_out() returns.\n\nKASAN reports a slab-use-after-free in rawv6_sendmsg(), with the route\nallocated by ip6_dst_alloc(), freed by dst_destroy() from rcu_core(), and\nthe related RCU callback queued from vrf_l3_out()."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "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().\nAC: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.\nPR: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.\nUI:N - The attacker opens the AF_INET6 SOCK_RAW socket, adds the VRF qdisc, and calls sendmsg() to an on-link global address.\nS:U - The freed object is the rt6_info for this socket\u0027s own output route, and the corruption is kernel memory in the caller\u0027s security domain.\nC:H - After dst_destroy() frees the rt6_info, rawv6_send_hdrinc() loads rt-\u003ert6i_idev for IP6_INC_STATS() and rt-\u003edst.dev for NF_HOOK(). Reclaiming that ip6_dst_ops slab lets the attacker choose those pointers and disclose kernel memory through the resulting dereferences.\nI:H - IP6_INC_STATS() increments a counter through the freed rt-\u003ert6i_idev, and NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT) uses the freed rt-\u003edst.dev as the output net_device. Reusing the route slab supplies those pointers and yields a kernel write.\nA: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()."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-19T13:52:55.301Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076"
},
{
"url": "https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148"
},
{
"url": "https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec"
},
{
"url": "https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586"
}
],
"title": "ipv6: raw: fix use-after-free in rawv6_send_hdrinc()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99320",
"datePublished": "2026-11-19T08:09:56.238Z",
"dateReserved": "2026-09-25T10:25:14.407Z",
"dateUpdated": "2026-11-19T13:52:55.301Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99320",
"date": "2026-11-22",
"epss": "0.00219",
"percentile": "0.12455"
},
"microsoft_vex": {
"current_release_date": "2026-11-20T01:09:21.000Z",
"cve": "CVE-2026-99320",
"id": "msrc_CVE-2026-99320",
"initial_release_date": "2026-11-20T01:03:06.000Z",
"product_status:known_affected": "1",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "ipv6: raw: fix use-after-free in rawv6_send_hdrinc()",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99320.json",
"version": "2"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/ipv6/raw.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "afb69c90cf62b630bf74c82d7bcfca840db8b076",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
},
{
"lessThan": "3fda55b34d8f1621676f1238728c16033dff1148",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
},
{
"lessThan": "18772182967f9a0160dc7ada43311eab87c3d9ec",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
},
{
"lessThan": "66dfb2cacda7faae614d688943d85e75abf7f586",
"status": "affected",
"version": "4c1feac58e06270321cc500b85c2d94a11495775",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/ipv6/raw.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.9"
},
{
"lessThan": "4.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.118",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.64",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: raw: fix use-after-free in rawv6_send_hdrinc()\n\nrawv6_send_hdrinc() caches the route before handing the skb to\nl3mdev_ip6_out(). The VRF output path may replace skb-\u003edst and release\nthe original route, leaving the cached pointer stale.\n\nThe function later dereferences that pointer for statistics accounting\nand as the output device passed to NF_HOOK(). Its RCU read-side critical\nsection starts after l3mdev_ip6_out(), so it cannot prevent the old route\nfrom being reclaimed in between.\n\nReload the route from the current skb destination after\nl3mdev_ip6_out() returns.\n\nKASAN reports a slab-use-after-free in rawv6_sendmsg(), with the route\nallocated by ip6_dst_alloc(), freed by dst_destroy() from rcu_core(), and\nthe related RCU callback queued from vrf_l3_out()."
}
],
"id": "CVE-2026-99320",
"lastModified": "2026-11-19T14:17:32.483",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.0,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.0,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-19T09:18:18.910",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-19T16:45:47+00:00",
"cve": "CVE-2026-99320",
"id": "CVE-2026-99320",
"initial_release_date": "2026-11-19T08:09:56.238000+00:00",
"product_status:known_affected": "162",
"product_status:known_not_affected": "42",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via use-after-free in IPv6 raw socket handling",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99320.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…