]> 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)
commit117b84f0f877e8d86ef4e8f330e528a82a8957e8
tree747752d7c9d0866bd600032a7e6fcadf4b403215
parenta2c76791611d650d20cec3397436800e01baaaa6
parent88a682a5fc4bb52a9421ea722241cb56bcc4aac4
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>