[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210610164031.3412479-1-maximmi@nvidia.com>
Date: Thu, 10 Jun 2021 19:40:28 +0300
From: Maxim Mikityanskiy <maximmi@...dia.com>
To: Mat Martineau <mathew.j.martineau@...ux.intel.com>,
Matthieu Baerts <matthieu.baerts@...sares.net>,
Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
Toke Høiland-Jørgensen <toke@...e.dk>,
"Jamal Hadi Salim" <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
Patrick McHardy <kaber@...sh.net>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Paolo Abeni <pabeni@...hat.com>,
Christoph Paasch <cpaasch@...le.com>,
Peter Krystad <peter.krystad@...ux.intel.com>
CC: Young Xiao <92siuyang@...il.com>, <netdev@...r.kernel.org>,
<mptcp@...ts.linux.dev>, Maxim Mikityanskiy <maximmi@...dia.com>
Subject: [PATCH net v2 0/3] 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.
Maxim Mikityanskiy (3):
netfilter: synproxy: Fix out of bounds when parsing TCP options
mptcp: Fix out of bounds when parsing TCP options
sch_cake: Fix out of bounds when parsing TCP options and header
net/mptcp/options.c | 2 ++
net/netfilter/nf_synproxy_core.c | 5 +++++
net/sched/sch_cake.c | 6 +++++-
3 files changed, 12 insertions(+), 1 deletion(-)
--
2.25.1
Powered by blists - more mailing lists