On Wed, Nov 15, 2023 at 9:34 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote: > > Like for KASAN, it's useful to temporarily disable KMSAN checks around, > e.g., redzone accesses. This example is incorrect, because KMSAN does not have redzones. You are calling these functions from "mm: slub: Let KMSAN access metadata", which mentiones redzones in kfree(), but the description is still somewhat unclear. Can you provide more insight about what is going on? Maybe we can fix those accesses instead of disabling KMSAN?