The patch titled Subject: kasan-mm-rename-kasan_poison_kfree-temp-fix has been added to the -mm tree. Its filename is kasan-mm-rename-kasan_poison_kfree-temp-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/kasan-mm-rename-kasan_poison_kfree-temp-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/kasan-mm-rename-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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kasan-mm-rename-kasan_poison_kfree-temp-fix carry forward kasan-simplify-kasan_poison_kfree-temp-fix.patch 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 | 4 ++++ 1 file changed, 4 insertions(+) --- a/mm/kasan/common.c~kasan-mm-rename-kasan_poison_kfree-temp-fix +++ a/mm/kasan/common.c @@ -345,6 +345,10 @@ void __kasan_slab_free_mempool(void *ptr 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 akpm@xxxxxxxxxxxxxxxxxxxx are kthread_worker-document-cpu-hotplug-handling-fix.patch mm.patch mm-prevent-gup_fast-from-racing-with-cow-during-fork-checkpatch-fixes.patch mm-swap_state-skip-meaningless-swap-cache-readahead-when-ra_infowin-==-0-fix.patch mm-vmallocc-__vmalloc_area_node-avoid-32-bit-overflow.patch mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes.patch linux-next-rejects.patch kasan-split-out-shadowc-from-commonc-fix.patch kasan-mm-check-kasan_enabled-in-annotations-fix.patch kasan-mm-rename-kasan_poison_kfree-temp-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch