Ursula Braun 1992d99882 net/smc: take sock lock in smc_ioctl()
SMC ioctl processing requires the sock lock to work properly in
all thinkable scenarios.
Problem has been found with RaceFuzzer and fixes:
   KASAN: null-ptr-deref Read in smc_ioctl

Reported-by: Byoungyoung Lee <lifeasageek@gmail.com>
Reported-by: syzbot+35b2c5aa76fd398b9fd4@syzkaller.appspotmail.com
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-16 14:45:13 -07:00
..
2017-07-29 11:22:58 -07:00
2018-05-23 16:02:35 -04:00
2018-05-23 16:02:35 -04:00
2018-05-23 16:02:35 -04:00
2018-05-04 11:45:06 -04:00
2018-05-23 16:02:35 -04:00
2018-05-23 16:02:35 -04:00
2018-06-12 16:19:22 -07:00
2018-06-28 22:03:55 +09:00