openvswitch: fix GSO userspace truncation underflow
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel fbfa3ad2ad6f3a5624aba5211c46290fb98cc9dc, Kernel 100a23b1613e9218e0af654ef102352c713f0263, Kernel 2623c48cc3a8da9a1886fd8f65c0e348f4406fd6 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: openvswitch: fix GSO userspace truncation underflow OVS_ACTION_ATTR_TRUNC currently stores a delta from the original skb length in OVS_CB(skb)->cutlen. When a later userspace action segments a GSO skb, queue_gso_packets() reuses that delta for each smaller segment. A segment can then reach queue_userspace_packet() with cutlen greater than skb->len, underflowing the length passed to skb_zerocopy(). Store the maximum preserved length instead and bound each consumer against the current skb length. Use U32_MAX as the no-truncation sentinel so the value remains valid if skb geometry changes before a consumer handles it.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <fbfa3ad2ad6f3a5624aba5211c46290fb98cc9dc, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <100a23b1613e9218e0af654ef102352c713f0263, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <2623c48cc3a8da9a1886fd8f65c0e348f4406fd6, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <4032f8ed10fcb84d41c508dfb04be96589f78dfe, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <50a6a85f3d6b1d22d8436848606cdef5d2c490b4, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <a16eaaf7c0b0ccdef6166707d90ffbc6eebf6855, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <e211b081901ffca76674082c73eeaed53524c369, >=f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 <ea85dbcbe8d4056ecb54352f97743d138ea4c407, =4.8 | fbfa3ad2ad6f3a5624aba5211c46290fb98cc9dc, 100a23b1613e9218e0af654ef102352c713f0263, 2623c48cc3a8da9a1886fd8f65c0e348f4406fd6, 4032f8ed10fcb84d41c508dfb04be96589f78dfe, 50a6a85f3d6b1d22d8436848606cdef5d2c490b4, a16eaaf7c0b0ccdef6166707d90ffbc6eebf6855, e211b081901ffca76674082c73eeaed53524c369, ea85dbcbe8d4056ecb54352f97743d138ea4c407 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=4.8.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket