Re: [PATCH net V2 1/1] net/smc: take sock lock in smc_ioctl()

David Miller
2018-07-16T21:45:53Z

From: Ursula Braun <ubraun@linux.ibm.com>
Date: Mon, 16 Jul 2018 13:56:52 +0200

> From: Ursula Braun <ursula.braun@linux.ibm.com>
>
> 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>

Applied and queued up for -stable.