CVE-2026-80590

Source
https://cve.org/CVERecord?id=CVE-2026-80590
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80590.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80590
Downstream
Published
2026-08-28T06:35:12.516Z
Modified
2026-08-29T03:45:42.567992547Z
Summary
inet: frags: strip GSO state from fragments before reassembly
Details

In the Linux kernel, the following vulnerability has been resolved:

inet: frags: strip GSO state from fragments before reassembly

A virtionethdr (tun/tap, or AFPACKET with PACKETVNETHDR) can mark an IPv4 or IPv6 fragment as GSO; nothing relates gsotype to fragoff. inetfragreasmprepare()/inetfragreasmfinish() keep the first fragment's skb as the head of the reassembled datagram, including its shinfo->gsosize/gsotype/gsosegs, and chain the remaining fragments on frag_list with whatever linear/paged layout they arrived with.

After ipdefrag() (iplocaldeliver(), nfdefragipv4, ...) the reassembled skb therefore still claims to be GSO (SKBGSODODGY), and the next software segmentation point - udprcvsegment() on local delivery, validatexmitskb(), or the ipfinishoutputgso() slow path - hands it to skbsegment(). skbsegment()'s fraglist walk assumes GRO-shaped input and hits one of its BUGON()s. Two writes to a tap by an unprivileged user in its own userns are enough:

kernel BUG at net/core/skbuff.c:4899! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 1000 PID: 82 Comm: poc Not tainted 7.2.0-pentest+ #2 RIP: 0010:skb_segment+0x20ca/0x48b0 Call Trace: <TASK> __udpgsosegment+0x29a/0x27d0 udp4ufofragment+0x458/0x6c0 inetgsosegment+0x429/0x1340 skbmacgso_segment+0x233/0x4f0 __skbgsosegment+0x308/0x660 udpqueuercvskb+0x440/0xad0 udpunicastrcvskb+0xc7/0x2c0 udprcv+0x16ce/0x2260 ipprotocoldeliverrcu+0x197/0x2d0 iplocaldeliver+0x430/0x690 ip_rcv+0x16f/0x1f0 __netifreceiveskbonecore+0x15e/0x1c0 __netifreceiveskb+0x1e/0x110 netifreceiveskb+0xf6/0x5c0 tunrxbatched.isra.0+0x3ab/0x790 tungetuser+0x17c3/0x3550 tunchrwriteiter+0xba/0x1b0 vfswrite+0x646/0x1130 </TASK> Kernel panic - not syncing: Fatal exception in interrupt

This runs with BH disabled, so it is a panic rather than an oops. The same is reachable with CAPNETRAW in a netns where a defrag point precedes a GSO point, and from a guest whose VMM forwards virtionethdr to a tap. The SKBGSODODGY fraglist checks added by commit 3dcbdb134f32 ("net: gso: Fix skbsegment splat when splitting gsosize mangled skb having linear-headed fraglist") and by commit 9e4b7a99a03a ("net: gso: fix panic on fraglist with mixed head alloc types") do not cover it: page-backed heads skip them, and kmalloc heads skip them when gsosize == skb_headlen(head), which the sender controls.

An skb entering a frag queue is an IP fragment by definition and cannot legitimately carry GSO state: GRO does not merge fragments and the stack segments before it fragments, so only untrusted sources are affected. This has been reachable since commit f43798c27684 ("tun: Allow GSO using virtionethdr"), the first path that let userspace attach GSO metadata to an IP fragment. Reset the GSO fields of every fragment as it is queued, in inetfragqueueinsert(), which IPv4, IPv6, nfconntrackreasm and 6lowpan reassembly share; then neither the head nor the fraglist members of the reassembled skb carry them (the members matter too: the ipdofragment()/ip6fragment() fast paths send them out as they are). The head may remain CHECKSUMPARTIAL; that is already accepted on receive and resolved by skbchecksumhelp() in ipdofragment()/ip6_fragment() on forward.

Tested on top of net.git (dc4b95b8fee9), x8664: the tap reproducer above, two further IPv4 fraglist geometries that reach BUGON(i >= nfrags) and BUGON(!listskb->headfrag), and an IPv6 fragment-header variant (udp6ufofragment()) each panic the unpatched kernel; with this patch all four datagrams are delivered intact and nothing is logged.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80590.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f43798c27684ab925adde7d8acc34c78c6e50df8
Fixed
cfdbc8c2e6f9ef5d8b8e54859da03dfe682b0bee
Fixed
29dda278a5ed272f2230ff4eaa23cf403107bba0
Fixed
14a8f3e10fa9a5abd6cedcdaa0c0b7ea9a09f234
Fixed
3edf721bb4b99d272c336631b44e3d8ff9a4f31b
Fixed
dec2edb7aaf12a8878b3a03172ea8fc277b8eaad
Fixed
c49f04e8d2b94dbb8d9fd99731dd3f00589c8ace
Fixed
69b73b74d9eb45f5560a8fe4fa406ada580e1340
Fixed
da857e448322a2e871ce3ecc2900027041160d43

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80590.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.27
Fixed
5.10.268
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.219
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.186
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.155
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.107
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.48
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.12
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80590.json"