Linux
ipv4: account for fraggap on the paged allocation path
In the Linux kernel, the following vulnerability has been resolved: ipv4: account for fraggap on the paged allocation path In __ip_append_data(), when the paged-allocation branch is taken, alloclen and pagedlen are computed as alloclen = fragheaderlen + transhdrlen; pagedlen = datalen - transhdrlen; datalen already includes fraggap, but the fraggap bytes carried over from the previous skb are copied into the new skb's linear area at offset transhdrlen by the subsequent skb_copy_and_csum_bits(). The linear area is therefore undersized by fraggap bytes while pagedlen is overstated by the same amount. The non-paged branch sets alloclen to fraglen, which already accounts for fraggap because datalen does. Bring the paged branch in line by adding fraggap to alloclen and subtracting it from pagedlen. After this adjustment, copy no longer collapses to -fraggap on the paged path, so remove the stale comment describing that old arithmetic.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8eb77cc73977d88787b37c92831b1c242e035396, < 5c6375bced6147ec2e460ee3b653f4860d5ecdc2
- >= 8eb77cc73977d88787b37c92831b1c242e035396, < ce494707a9c07f27c219ca67f3e138061f53d9b3
- >= 8eb77cc73977d88787b37c92831b1c242e035396, < a9c24eda24bd15f432e37824e6fc440977cb241c
- >= 8eb77cc73977d88787b37c92831b1c242e035396, < 77798d7be6ef71e72fb6fc8a2901bf74ebc9706f
- >= 8eb77cc73977d88787b37c92831b1c242e035396, < c04d9ece23deb9e26c19f9ca215e98b3295aa1bb
- >= 8eb77cc73977d88787b37c92831b1c242e035396, < eca856950f7cb1a221e02b99d758409f2c5cec42
Fixed in 5c6375bced6147ec2e460ee3b653f4860d5ecdc2, ce494707a9c07f27c219ca67f3e138061f53d9b3, a9c24eda24bd15f432e37824e6fc440977cb241c, 77798d7be6ef71e72fb6fc8a2901bf74ebc9706f, c04d9ece23deb9e26c19f9ca215e98b3295aa1bb, eca856950f7cb1a221e02b99d758409f2c5cec42
- 6.0
Fixed in 0, 6.1.178, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2
Mitigation
Upgrade Linux to 5c6375bced6147ec2e460ee3b653f4860d5ecdc2 or ce494707a9c07f27c219ca67f3e138061f53d9b3 or a9c24eda24bd15f432e37824e6fc440977cb241c or 77798d7be6ef71e72fb6fc8a2901bf74ebc9706f or c04d9ece23deb9e26c19f9ca215e98b3295aa1bb or eca856950f7cb1a221e02b99d758409f2c5cec42 or later.
Upgrade Linux to 0 or 6.1.178 or 6.6.144 or 6.12.95 or 6.18.38 or 7.1.3 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| suominen/ipv6_frag_escape | 3 Jul 2026 −13 d | 0 | Pending |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.