The patch titled Subject: kasan-simplify-kasan_poison_kfree-temp-fix has been added to the -mm tree. Its filename is kasan-simplify-kasan_poison_kfree-temp-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/kasan-simplify-kasan_poison_kfree-temp-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/kasan-simplify-kasan_poison_kfree-temp-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Lorenzo Stoakes <lstoakes@xxxxxxxxx> Subject: kasan-simplify-kasan_poison_kfree-temp-fix temp workaround for a ceph-related oops Link: https://lkml.kernel.org/r/CAA5enKY8mBicpc7kZKKLG5LeVFhVJtRQ73MYVFM0Az2bbiGv8g@xxxxxxxxxxxxxx Reported-by: syzbot+2d6f3dad1a42d86a5801@xxxxxxxxxxxxxxxxxxxxxxxxx Cc: Andrey Konovalov <andreyknvl@xxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Qian Cai <cai@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/kasan/common.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/mm/kasan/common.c~kasan-simplify-kasan_poison_kfree-temp-fix +++ a/mm/kasan/common.c @@ -439,6 +439,11 @@ void __kasan_poison_kfree(void *ptr, uns struct page *page; page = virt_to_head_page(ptr); + + if (!PageSlab(page)) { + return; + } + ____kasan_slab_free(page->slab_cache, ptr, ip, false); } _ Patches currently in -mm which might be from lstoakes@xxxxxxxxx are kasan-simplify-kasan_poison_kfree-temp-fix.patch