From: Karsten Graul <kgraul@xxxxxxxxxxxxx> Date: Fri, 2 Aug 2019 10:16:38 +0200 > From: Ursula Braun <ubraun@xxxxxxxxxxxxx> > > The setsockopts options TCP_NODELAY and TCP_CORK may schedule the > tx worker. Make sure the socket is not yet moved into SMC_CLOSED > state (for instance by a shutdown SHUT_RDWR call). > > Reported-by: syzbot+92209502e7aab127c75f@xxxxxxxxxxxxxxxxxxxxxxxxx > Reported-by: syzbot+b972214bb803a343f4fe@xxxxxxxxxxxxxxxxxxxxxxxxx > Fixes: 01d2f7e2cdd31 ("net/smc: sockopts TCP_NODELAY and TCP_CORK") > Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxx> > Signed-off-by: Karsten Graul <kgraul@xxxxxxxxxxxxx> Applied and queued up for -stable.