[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C70SQCX55VG2.195MNJP5XSCJ9@maharaja>
Date: Wed, 11 Nov 2020 14:43:31 -0800
From: "Daniel Xu" <dxu@...uu.xyz>
To: "Daniel Borkmann" <daniel@...earbox.net>,
"kernel test robot" <oliver.sang@...el.com>
Cc: <bpf@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<ast@...nel.org>, <songliubraving@...com>, <kernel-team@...com>,
"0day robot" <lkp@...el.com>, <lkp@...ts.01.org>
Subject: Re: [selftest/bpf] b83590ee1a: BUG:KASAN:slab-out-of-bounds_in_l
Hi Daniel,
On Mon Nov 9, 2020 at 8:54 AM PST, Daniel Borkmann wrote:
> Hi Daniel,
>
> On 11/9/20 3:54 PM, kernel test robot wrote:
> > Greeting,
> >
> > FYI, we noticed the following commit (built with gcc-9):
> >
> > commit: b83590ee1add052518603bae607b0524632b7793 ("[PATCH bpf v3 2/2] selftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NUL")
> > url: https://github.com/0day-ci/linux/commits/Daniel-Xu/Fix-bpf_probe_read_user_str-overcopying/20201106-033210
> > base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf.git master
>
> I've tossed them from the tree for now as it looks like these are adding
> regressions
> for regular strncpy_from_user() calls, please take a look.
>
> Thanks!
Sorry about the KASAN issue.
I spent a day reproing. The kasan warnings seem a bit misleading but I
think I have a fix. I'll put a v5 shortly. I'll see if any of the bots
find errors on it.
Thanks,
Daniel
Powered by blists - more mailing lists