diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2016-03-30 11:34:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-04-07 18:42:37 +0200 |
commit | 644c7e48cb59cfc6988ddc7bf3d3b1ba5fe7fa9d (patch) | |
tree | cb2ca7427bab0e28fe097ae6a08acd416c63eccd /Documentation/video4linux | |
parent | ff76def3bd7e816fe0ca7f0840065c566a42ba2f (diff) |
netfilter: nf_conntrack_tcp: Fix stack out of bounds when parsing TCP options
Baozeng Ding reported a KASAN stack out of bounds issue - it uncovered that
the TCP option parsing routines in netfilter TCP connection tracking could
read one byte out of the buffer of the TCP options. Therefore in the patch
we check that the available data length is large enough to parse both TCP
option code and size.
Reported-by: Baozeng Ding <sploving1@gmail.com>
Tested-by: Baozeng Ding <sploving1@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/video4linux')
0 files changed, 0 insertions, 0 deletions