[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181218.220354.1029594559259847304.davem@davemloft.net>
Date: Tue, 18 Dec 2018 22:03:54 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mhjungk@...il.com
Cc: ubraun@...ux.ibm.com, linux-s390@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] net/smc: fix TCP fallback socket release
From: Myungho Jung <mhjungk@...il.com>
Date: Tue, 18 Dec 2018 09:02:25 -0800
> clcsock can be released while kernel_accept() references it in TCP
> listen worker. Also, clcsock needs to wake up before released if TCP
> fallback is used and the clcsock is blocked by accept. Add a lock to
> safely release clcsock and call kernel_sock_shutdown() to wake up
> clcsock from accept in smc_release().
>
> Reported-by: syzbot+0bf2e01269f1274b4b03@...kaller.appspotmail.com
> Reported-by: syzbot+e3132895630f957306bc@...kaller.appspotmail.com
> Signed-off-by: Myungho Jung <mhjungk@...il.com>
Applied, thanks.
Powered by blists - more mailing lists