]> 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)
commit0280f429dc21d7b8196c401990eab6abe630006f
tree747752d7c9d0866bd600032a7e6fcadf4b403215
parentd1b5bee4c8be01585033be9b3a8878789285285f
parentba91c49dedbde758ba0b72f57ac90b06ddf8e548
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>