Re: [PATCH 1/2] kasan, mm: fix conflicts with init_on_alloc/free

2021-01-14 Thread Andrey Konovalov
On Wed, Jan 13, 2021 at 6:25 PM Vlastimil Babka wrote: > > On 1/13/21 5:03 PM, Andrey Konovalov wrote: > > A few places where SLUB accesses object's data or metadata were missed in > > a previous patch. This leads to false positives with hardware tag-based > > KASAN when bulk allocations are used

Re: [PATCH 1/2] kasan, mm: fix conflicts with init_on_alloc/free

2021-01-13 Thread Vlastimil Babka
On 1/13/21 5:03 PM, Andrey Konovalov wrote: > A few places where SLUB accesses object's data or metadata were missed in > a previous patch. This leads to false positives with hardware tag-based > KASAN when bulk allocations are used with init_on_alloc/free. > > Fix the false-positives by resetting

[PATCH 1/2] kasan, mm: fix conflicts with init_on_alloc/free

2021-01-13 Thread Andrey Konovalov
A few places where SLUB accesses object's data or metadata were missed in a previous patch. This leads to false positives with hardware tag-based KASAN when bulk allocations are used with init_on_alloc/free. Fix the false-positives by resetting pointer tags during these accesses. Link: https://l