[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200129145446.26425-1-fw@strlen.de>
Date: Wed, 29 Jan 2020 15:54:42 +0100
From: Florian Westphal <fw@...len.de>
To: <netdev@...r.kernel.org>
Cc: matthieu.baerts@...sares.net, mathew.j.martineau@...ux.intel.com
Subject: [PATCH net 0/4] mptcp: fix sockopt crash and lockdep splats
Christoph Paasch reported a few bugs and lockdep splats triggered by
syzkaller.
One patch fixes a crash in set/getsockopt.
Two patches fix lockdep splats related to the order in which RTNL
and socket lock are taken.
Last patch fixes out-of-bounds access when TCP syncookies are used.
Change since last iteration on mptcp-list:
- add needed refcount in patch 2
- call tcp_get/setsockopt directly in patch 2
Other patches unchanged except minor amends to commit messages.
include/linux/tcp.h | 2 --
net/ipv4/syncookies.c | 4 ++++
net/ipv4/tcp_input.c | 3 +++
net/ipv6/syncookies.c | 3 +++
net/mptcp/protocol.c | 54 ++++++++++++++++++++++++++++++++----------------------
net/mptcp/subflow.c | 5 ++++-
6 files changed, 46 insertions(+), 25 deletions(-)
Powered by blists - more mailing lists