[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e179a4def787_28762abb601485c027@john-XPS-13-9370.notmuch>
Date: Thu, 09 Jan 2020 13:25:33 -0800
From: John Fastabend <john.fastabend@...il.com>
To: Song Liu <song@...nel.org>,
John Fastabend <john.fastabend@...il.com>
Cc: bpf <bpf@...r.kernel.org>, Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [bpf PATCH 8/9] bpf: sockmap/tls, tls_push_record can not handle
zero length skmsg
Song Liu wrote:
> On Wed, Jan 8, 2020 at 1:17 PM John Fastabend <john.fastabend@...il.com> wrote:
> >
> > When passed a zero length skmsg tls_push_record() causes a NULL ptr
> > deref. To resolve for fixes do a simple length check at start of
> > routine.
>
> Could you please include the stack dump for the NULL deref?
>
> Thanks,
> Song
Sure I'll send a v2 with the stack dump.
Powered by blists - more mailing lists