Thread (3 messages) 3 messages, 3 authors, 2017-08-30

Re: [PATCH net] kcm: do not attach PF_KCM sockets to avoid deadlock

From: David Miller <davem@davemloft.net>
Date: 2017-08-30 22:55:39

From: Eric Dumazet <redacted>
Date: Wed, 30 Aug 2017 09:29:31 -0700
From: Eric Dumazet <edumazet@google.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@google.com>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help