net: cap advertised IP tunnel headroom
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/6b222adeb9340306e2ff97127c76117abb9b3df8https://git.kernel.org/stable/c/84783961cb8bdb36b4f41a02ce43aafc6d52b176https://git.kernel.org/stable/c/9144f2c53a04465a6878172b523f640313c5559ehttps://git.kernel.org/stable/c/af0ee8f04bea22cdb331fa3509e17f81b48938adhttps://git.kernel.org/stable/c/b160422f8103574425e2834130e169d84c94fa1dhttps://git.kernel.org/stable/c/bc4e05ae66c9797a0972ac44326e69c5305e0020https://git.kernel.org/stable/c/d36e75f5669140b66515ad3a176ca6337bd80a5ehttps://git.kernel.org/stable/c/fb889a619723032140f5d983a3a34d25a5a2bed4