[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170830.155538.944885056033122938.davem@davemloft.net>
Date: Wed, 30 Aug 2017 15:55:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, tom@...ntonium.net
Subject: Re: [PATCH net] kcm: do not attach PF_KCM sockets to avoid deadlock
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 30 Aug 2017 09:29:31 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> syzkaller had no problem to trigger a deadlock, attaching a KCM socket
> to another one (or itself). (original syzkaller report was a very
> confusing lockdep splat during a sendmsg())
>
> It seems KCM claims to only support TCP, but no enforcement is done,
> so we might need to add additional checks.
>
> Fixes: ab7ac4eb9832 ("kcm: Kernel Connection Multiplexor module")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists