Linux kernel memory corruption in IPv6 raw socket send path
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Specific setups only
Summary
The Linux kernel's IPv6 raw socket send path (`rawv6_send_hdrinc()`) contains a use-after-free flaw: it can use a route structure after it has already been freed. The bug is in the kernel's handling of IPv6 packets sent with a user-supplied header.
Written by a model
Original 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().
What to do
Check whether your setup matches what the bug needs.
The egress device is an l3 slave (VRF) and the qdisc is not the default one. The raw IPv6 socket has HDRINCL set.Workaround: The checked facts describe no workaround. The conditions named are HDRINCL on raw IPv6 sockets and a VRF egress device with a non-default qdisc, so those are the features the sources tie to the bug.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-99320 (ipv6: raw: fix use-after-free in rawv6_send_hdrinc()), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-99320 (entry last updated 2026-11-19):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 4.9
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- The egress device is an l3 slave (VRF) and the qdisc is not the default one. (source: https://www.cve.org/CVERecord?id=CVE-2026-99320)
- The raw IPv6 socket has HDRINCL set. (source: https://www.cve.org/CVERecord?id=CVE-2026-99320)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-99320 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-99320 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
- https://www.cve.org/CVERecord?id=CVE-2026-99320
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-99320
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-99320"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux4.9
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7/10CVSS 7.0
- No patch5/5No patch listed yet
What would change the score
- Would score about 87 if added to CISA KEV
- Would score about 82 if CISA's SSVC rates exploitation active
- Would score about 47 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- Record last updated
- Posted on X by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-99320 |
| Record | NVD · CVE-2026-99320 |
| Other links 4 | |
| Link | git.kernel.org · stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076 |
| Link | git.kernel.org · stable/c/3fda55b34d8f1621676f1238728c16033dff1148 |
| Link | git.kernel.org · stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec |
| Link | git.kernel.org · stable/c/66dfb2cacda7faae614d688943d85e75abf7f586 |
Questions about CVE-2026-99320
Is CVE-2026-99320 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The bug is a use-after-free of a route object in rawv6_send_hdrinc() in the Linux IPv6 raw socket code. The freed route memory can be reused, which can lead to kernel memory disclosure, a kernel memory write, or a kernel oops.
Source: cve.org
Which versions are affected by CVE-2026-99320?
Linux: version 4.9.
Source: cve.now feed data
Am I affected, and how do I check?
The affected setup involves raw IPv6 sockets with HDRINCL set, where the egress device is an L3 slave such as a VRF and the qdisc on that device is not the default one. The record lists Linux kernel but gives no version ranges, so check the kernel version and the egress device's qdisc (for example with tc qdisc show) against the vendor's advisory.
Source: cve.org
How do I fix CVE-2026-99320?
The checked facts name no fixed kernel version or patch identifier, so no upgrade target can be given here. Consult the Linux kernel stable advisories or your distribution's advisory for the fix.
Source: cve.org
What if there's no patch?
The checked facts describe no workaround. The conditions named are HDRINCL on raw IPv6 sockets and a VRF egress device with a non-default qdisc, so those are the features the sources tie to the bug.
Source: cve.org
Related
- CVE-2026-99795cxl/features: Ensure that count is set before access to ent[] __counted_by()
- CVE-2026-99794Bluetooth: L2CAP: Reject signalling responses in invalid states
- CVE-2026-99793Bluetooth: L2CAP: Only accept connection responses to outstanding requests
- CVE-2026-99792smb/server: prevent file publication after tree disconnect
- CVE-2026-99791xfs: improve dirent bounds checking in scrub and repair
- CVE-2026-99790NFSD: stop registering with rpcbind after a failure in listener_set
No corrections so far. Something wrong on this page? Report an error.