Re: [syzbot] [ext4?] WARNING: locking bug in get_page_from_freelist
From: Hillf Danton
Date: Mon Nov 25 2024 - 05:52:51 EST
On Sun, 24 Nov 2024 18:49:19 -0800
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 9f16d5e6f220 Merge tag 'for-linus' of git://git.kernel.org..
> git tree: upstream
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=177ab75f980000
Test the idea [1]
[1] https://lore.kernel.org/lkml/20241122155451.Mb2pmeyJ@xxxxxxxxxxxxx/
#syz test
--- x/mm/kasan/generic.c
+++ y/mm/kasan/generic.c
@@ -538,7 +538,7 @@ static void __kasan_record_aux_stack(voi
return;
alloc_meta->aux_stack[1] = alloc_meta->aux_stack[0];
- alloc_meta->aux_stack[0] = kasan_save_stack(0, depot_flags);
+ alloc_meta->aux_stack[0] = kasan_save_stack(0, 0);
}
void kasan_record_aux_stack(void *addr)
--