------------[ cut here ]------------ kernel BUG at lib/maple_tree.c:5784! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 20588 Comm: syz-executor.1 Not tainted 6.1.37-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5784 lr : mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5784 sp : ffff800020d47040 x29: ffff800020d47120 x28: 1ffff000041a8e63 x27: dfff800000000000 x26: ffff7000041a8e0c x25: 0000000020ff9000 x24: 0000000000000001 x23: 1ffff000041a8e10 x22: ffff800020d47318 x21: ffffffffffffffd2 x20: 0000000000000002 x19: ffff800020d47300 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000084f9038 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000002 x12: 0000000000040000 x11: 00000000000018a9 x10: ffff800022bfb000 x9 : ffff80001208ca78 x8 : 00000000000018aa x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 00000000ffffffff x3 : 0000000000002800 x2 : ffff0000c000d500 x1 : 0000000000000002 x0 : 0000000000000002 Call trace: mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5784 vma_mas_store+0x19c/0x490 mm/mmap.c:434 __vma_adjust+0xec8/0x17a8 mm/mmap.c:789 vma_merge+0xabc/0xb4c madvise_update_vma+0x2c4/0xa70 mm/madvise.c:155 madvise_vma_anon_name mm/madvise.c:1279 [inline] madvise_walk_vmas mm/madvise.c:1250 [inline] madvise_set_anon_name+0x270/0x3c4 mm/madvise.c:1312 prctl_set_vma kernel/sys.c:2345 [inline] __do_sys_prctl kernel/sys.c:2640 [inline] __se_sys_prctl kernel/sys.c:2364 [inline] __arm64_sys_prctl+0x150c/0x2a08 kernel/sys.c:2364 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: 977a6070 17ffff7b 9402075c 977a5ba9 (d4210000) ---[ end trace 0000000000000000 ]---