]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-options-oob-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 21:26:18 +0000 (14:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 21:26:18 +0000 (14:26 -0700)
commitbbea6ce79dfb85b2c2656af6069899ef4309644c
tree747752d7c9d0866bd600032a7e6fcadf4b403215
parentee215c73e19a8ecffbad6e05ca8bf2f21dd364ff
parent51ff99505b70339011a0b33182fefa9e920ff5d4
Merge branch 'tcp-options-oob-fixes'

Maxim Mikityanskiy says:

====================
Fix out of bounds when parsing TCP options

This series fixes out-of-bounds access in various places in the kernel
where parsing of TCP options takes place. Fortunately, many more
occurrences don't have this bug.

v2 changes:

synproxy: Added an early return when length < 0 to avoid calling
skb_header_pointer with negative length.

sch_cake: Added doff validation to avoid parsing garbage.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>