Re: general protection fault in tls_sk_proto_close (2)

2019-08-29 Thread John Fastabend
Jakub Kicinski wrote: > On Thu, 29 Aug 2019 11:48:32 -0700, John Fastabend wrote: > > Jakub Kicinski wrote: > > > On Thu, 29 Aug 2019 11:52:00 +0800, Hillf Danton wrote: > > > > Alternatively work is done if sock is closed again. Anyway ctx is reset > > > > under sock's callback lock in write mod

Re: general protection fault in tls_sk_proto_close (2)

2019-08-29 Thread Jakub Kicinski
On Thu, 29 Aug 2019 11:48:32 -0700, John Fastabend wrote: > Jakub Kicinski wrote: > > On Thu, 29 Aug 2019 11:52:00 +0800, Hillf Danton wrote: > > > Alternatively work is done if sock is closed again. Anyway ctx is reset > > > under sock's callback lock in write mode. > > > > > > --- a/net/tls/tl

Re: general protection fault in tls_sk_proto_close (2)

2019-08-29 Thread John Fastabend
Jakub Kicinski wrote: > On Thu, 29 Aug 2019 11:52:00 +0800, Hillf Danton wrote: > > Alternatively work is done if sock is closed again. Anyway ctx is reset > > under sock's callback lock in write mode. > > > > --- a/net/tls/tls_main.c > > +++ b/net/tls/tls_main.c > > @@ -295,6 +295,8 @@ static voi

Re: general protection fault in tls_sk_proto_close (2)

2019-08-29 Thread Jakub Kicinski
On Thu, 29 Aug 2019 11:52:00 +0800, Hillf Danton wrote: > Alternatively work is done if sock is closed again. Anyway ctx is reset > under sock's callback lock in write mode. > > --- a/net/tls/tls_main.c > +++ b/net/tls/tls_main.c > @@ -295,6 +295,8 @@ static void tls_sk_proto_close(struct so >

Re: general protection fault in tls_sk_proto_close (2)

2019-08-28 Thread Jakub Kicinski
On Tue, 27 Aug 2019 23:38:07 -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:a55aa89a Linux 5.3-rc6 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=16c26ebc60 > kernel config: https://syzkaller.appspot.com/x/.c

general protection fault in tls_sk_proto_close (2)

2019-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a55aa89a Linux 5.3-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16c26ebc60 kernel config: https://syzkaller.appspot.com/x/.config?x=2a6a2b9826fdadf9 dashboard link: https://syzkaller.appspo