Nixpkgs security tracker

Try the new UI
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 1 week, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
net: cap advertised IP tunnel headroom

In the Linux kernel, the following vulnerability has been resolved: net: cap advertised IP tunnel headroom IP tunnel devices derive their advertised needed_headroom from lower output devices. A stack of user-created devices can make the derived value larger than the 16-bit skb header offsets can represent. Once IP output reserves it, skb head expansion can wrap those offsets. The runtime transmit path already caps a growing needed_headroom at 512. Apply the same cap when tunnel configuration publishes needed_headroom derived from a lower output device. Capping the advertised value is safe: IP tunnel transmit still expands the skb when a packet needs more headroom. A nonsensical stacked configuration can therefore incur an extra reallocation, but it cannot publish an unbounded reservation to upper layers.

Affected products

Linux
  • <3.11
  • =<7.2.*
  • ==3.11
  • <bc4e05ae66c9797a0972ac44326e69c5305e0020
  • <af0ee8f04bea22cdb331fa3509e17f81b48938ad
  • =<6.18.*
  • <6b222adeb9340306e2ff97127c76117abb9b3df8
  • <9144f2c53a04465a6878172b523f640313c5559e
  • =<6.12.*
  • =<*