Description
In the Linux kernel, the following vulnerability has been resolved:
virtio-net: Ensure that TCP packets don't overflow gso_segs
The user can specify any gso_size in a packet crafted with an AF_PACKET PACKET_VNET_HDR socket, even smaller than TCP_MIN_GSO_SIZE = 8. At the same time, GSO_MAX_SIZE = 8 * GSO_MAX_SEGS = 8 * 65535. When the user crafts a packet with gso_size < 8, there is a risk for partial GSO to overflow the 16-bit gso_segs field when dividing the SKB length by gso_size.
Adjust gso_size of TCP packets to be at least TCP_MIN_GSO_SIZE = 8. Keep gso_size of UDP GSO packets, as gso_size=1 is valid and explicitly tested at tools/testing/selftests/net/tun.c:649.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < d3d111fe809773edbb4ae121e36253b7d683509a; >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < 8f6667a081887c2b59c6f3dd86c1789ada563762; >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < 339f47ae04dcc6b5a730dd6bc70dddc8937c3260; >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < 29bd12c7c5f9d6cf855b87bace18f71e9607f9e8; >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < 0e5ed3b98d1d8d251acfdccfeaa607453ad12954; >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < 75c271c48f483af678e514734e10b2452410e08c; >= 7c6d2ecbda83150b2036a2b36b21381ad4667762, < c27c449d455aafd9018a3cbab150f1c42c87923f; bfbaf151efe491e30697e21c8b7ae1b615480873; 6c83456601e65a6dd371ddf595510183d198e9b1; b3ebd9830c6026c98f03f7047c9d608573773f13; b96fb681ca789629b8ba3da99ca3b2e6fa807f0a; >= 4.14.187, < 4.15; >= 4.19.131, < 4.20; >= 5.4.46, < 5.5; >= 5.6.18, < 5.7 |
| Linux | Linux | 5.7 |
References
- https://git.kernel.org/stable/c/0e5ed3b98d1d8d251acfdccfeaa607453ad12954
- https://git.kernel.org/stable/c/29bd12c7c5f9d6cf855b87bace18f71e9607f9e8
- https://git.kernel.org/stable/c/339f47ae04dcc6b5a730dd6bc70dddc8937c3260
- https://git.kernel.org/stable/c/75c271c48f483af678e514734e10b2452410e08c
- https://git.kernel.org/stable/c/8f6667a081887c2b59c6f3dd86c1789ada563762
- https://git.kernel.org/stable/c/c27c449d455aafd9018a3cbab150f1c42c87923f
- https://git.kernel.org/stable/c/d3d111fe809773edbb4ae121e36253b7d683509a
Timeline
- Published
- Sep 17, 2026
- Last modified
- Oct 19, 2026
- NVD status
- Received