Re: [lib/strncpy_from_user.c] 00a4ef91e8: BUG:KASAN:slab-out-of-bounds_in_s

2020-11-06 Thread Daniel Xu
On Thu Nov 5, 2020 at 8:32 PM PST, Alexei Starovoitov wrote: > Daniel, > > the kasan complains about the previous version of your patch, > but your v4 version looks equivalent. > Could you try to repro this issue? > The code looks correct, but kasan complain is concerning. > > On Thu, Nov 5, 2020

Re: [lib/strncpy_from_user.c] 00a4ef91e8: BUG:KASAN:slab-out-of-bounds_in_s

2020-11-05 Thread Alexei Starovoitov
Daniel, the kasan complains about the previous version of your patch, but your v4 version looks equivalent. Could you try to repro this issue? The code looks correct, but kasan complain is concerning. On Thu, Nov 5, 2020 at 5:56 PM kernel test robot wrote: > > Greeting, > > FYI, we noticed the