Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before 50a6a85f3d6b1d22d8436848606cdef5d2c490b4; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before 2623c48cc3a8da9a1886fd8f65c0e348f4406fd6; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before e211b081901ffca76674082c73eeaed53524c369; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before a16eaaf7c0b0ccdef6166707d90ffbc6eebf6855; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before fbfa3ad2ad6f3a5624aba5211c46290fb98cc9dc; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before 100a23b1613e9218e0af654ef102352c713f0263; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before ea85dbcbe8d4056ecb54352f97743d138ea4c407; affected f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1 before 4032f8ed10fcb84d41c508dfb04be96589f78dfe |
| Linux / Linux | affected 4.8; unaffected 0 before 4.8; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/50a6a85f3d6b1d22d8436848606cdef5d2c490b4
- https://git.kernel.org/stable/c/2623c48cc3a8da9a1886fd8f65c0e348f4406fd6
- https://git.kernel.org/stable/c/e211b081901ffca76674082c73eeaed53524c369
- https://git.kernel.org/stable/c/a16eaaf7c0b0ccdef6166707d90ffbc6eebf6855
- https://git.kernel.org/stable/c/fbfa3ad2ad6f3a5624aba5211c46290fb98cc9dc
- https://git.kernel.org/stable/c/100a23b1613e9218e0af654ef102352c713f0263
- https://git.kernel.org/stable/c/ea85dbcbe8d4056ecb54352f97743d138ea4c407
- https://git.kernel.org/stable/c/4032f8ed10fcb84d41c508dfb04be96589f78dfe
ADP enrichment
No English description supplied.
No references supplied.