android_kernel_motorola_sm6375/net/kcm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Dumazet 351050ecd6 kcm: do not attach PF_KCM sockets to avoid deadlock
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: ab7ac4eb98 ("kcm: Kernel Connection Multiplexor module")
Signed-off-by: Eric Dumazet <[email protected]>
Reported-by: Dmitry Vyukov <[email protected]>
Acked-by: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2017-08-30 15:55:10 -07:00
..
kcmproc.c net: convert sock.sk_wmem_alloc from atomic_t to refcount_t 2017-07-01 07:39:08 -07:00
kcmsock.c kcm: do not attach PF_KCM sockets to avoid deadlock 2017-08-30 15:55:10 -07:00
Kconfig kcm: Use stream parser 2016-08-17 19:36:23 -04:00
Makefile