On Wed, Jul 31, 2019 at 10:05 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote: > > On Wed, Jul 31, 2019 at 12:35:09PM -0700, Matthew Wilcox wrote: > > On Wed, Jul 31, 2019 at 03:32:40PM -0400, Laura Abbott wrote: > > > Fix this by ensuring the value we set with set_freepointer is either NULL > > > or another value in the chain. > > > > > > Reported-by: kernel test robot <rong.a.chen@xxxxxxxxx> > > > Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx> > > > > Fixes: 6471384af2a6 ("mm: security: introduce init_on_alloc=1 and init_on_free=1 boot options") > > Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx> > > -- > Kees Cook -- Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Straße, 33 80636 München Geschäftsführer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg