Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 4 weeks ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
openvswitch: fix GSO userspace truncation underflow

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 products

Linux
  • ==4.8
  • <4.8
  • =<6.6.*
  • =<*
  • <a16eaaf7c0b0ccdef6166707d90ffbc6eebf6855
  • =<6.18.*
  • <ea85dbcbe8d4056ecb54352f97743d138ea4c407
  • =<6.12.*
  • <4032f8ed10fcb84d41c508dfb04be96589f78dfe
  • <fbfa3ad2ad6f3a5624aba5211c46290fb98cc9dc
  • <100a23b1613e9218e0af654ef102352c713f0263
  • =<7.1.*