CVE-2026-143138
HIGH 7.8CVSS 3.1net: gro: avoid parsing headers from shared fragments
In the Linux kernel, the following vulnerability has been resolved:
net: gro: avoid parsing headers from shared fragments
When an skb has an empty linear head, skb_gro_reset_offset() can expose
the first page fragment directly to GRO header parsers. For an
SKBFL_SHARED_FRAG skb, those bytes may still be writable through a file
mapping. Headers validated during receive can therefore differ from the
headers later copied into the linear head and used during completion.
For example, changing an IPv6 destination-options length between the
short and full header fetches in ipv6_gro_pull_exthdrs() can make
ipv6_gro_complete() pass an out-of-bounds offset to udp6_gro_complete().
A userspace reproducer triggered a KASAN slab-out-of-bounds read there
on an unmodified kernel as UID 1000. The same completion path can write
the UDP checksum and length through the invalid offset. The packet has
trusted TCP GSO metadata and spliced file data, so it reaches completion
without an skb zerocopy destructor or a second GRO packet.
Disable the direct-fragment fast path for skbs with externally writable
fragments. With an empty linear head, frag0_len remains zero, so
skb_gro_header_slow() pulls each required header into the linear head
before it is inspected. Subsequent pulls preserve the validated prefix.
This covers both gro_receive_skb() and napi_gro_frags(), including other
protocols using the same helpers. Linear headers and private fragments
retain their existing fast paths.
Codex assisted with review of the supplied report, reproducer and draft
fix, related-path analysis, and this changelog. The patched
net/core/gro.o builds with W=1 using the supplied x86-64 configuration,
allyesconfig and allmodconfig. The fix was checked by code-path analysis;
the reproducer and kernel selftests have not been run on a booted
patched kernel.
The issue was found by an LLM.
- Published
- 3 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= dff0b0161ad571f888d37f5e7163a07dcafdef60, < 60684312f40bc9ccbd442b27694895cccf7312d6; >= dff0b0161ad571f888d37f5e7163a07dcafdef60, < 6e5f08e089b690f1420b57daf03c7508b47a5a8d; >= dff0b0161ad571f888d37f5e7163a07dcafdef60, < 5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d; >= dff0b0161ad571f888d37f5e7163a07dcafdef60, < 44818c9a826d766dc0e21179dc76f229334f1dda; = 7f7b0ebb37afc5070d122318e3651d7cb8c4f01c; >= 6.6.31, < 6.7 | 60684312f40bc9ccbd442b27694895cccf7312d6, 6e5f08e089b690f1420b57daf03c7508b47a5a8d, 5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d, 44818c9a826d766dc0e21179dc76f229334f1dda, 6.7 |
| CVE List | Linux | Linux | = 6.8 |
References
- https://git.kernel.org/stable/c/44818c9a826d766dc0e21179dc76f229334f1dda
- https://git.kernel.org/stable/c/5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d
- https://git.kernel.org/stable/c/60684312f40bc9ccbd442b27694895cccf7312d6
- https://git.kernel.org/stable/c/6e5f08e089b690f1420b57daf03c7508b47a5a8d
History
- 4 Dec 2026 05:56 UTC · NVD: scored 7.8
- 4 Dec 2026 03:56 UTC · CVE List: scored 7.8
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)