------------[ cut here ]------------ kernel BUG at lib/maple_tree.c:5793! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 21040 Comm: syz-executor.0 Not tainted 6.1.25-syzkaller-00092-gdac17bb8f7c1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:mas_store_prealloc+0x3c0/0x420 lib/maple_tree.c:5793 Code: 48 89 df e8 32 04 be fc 48 8b 3b 48 c7 c6 83 f9 44 86 48 8b 54 24 10 31 c9 4c 8b 44 24 18 e8 97 8b ff ff eb 18 e8 e0 a1 78 fc <0f> 0b e8 c9 e4 08 00 e8 d4 a1 78 fc eb 34 e8 cd a1 78 fc 31 db 65 RSP: 0018:ffffc9000db17540 EFLAGS: 00010283 RAX: ffffffff84faf310 RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffffc90000f09000 RSI: 00000000000002b8 RDI: 00000000000002b9 RBP: ffffc9000db17650 R08: ffffffff84faf1b3 R09: fffffbfff0d0d40b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92001b62efb R14: ffffffffffffffd2 R15: 1ffff92001b62eac FS: 00007f10f0509700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10f0508ff8 CR3: 000000011bc9c000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vma_mas_store+0xe0/0x1e0 mm/mmap.c:434 __vma_adjust+0xf81/0x1870 mm/mmap.c:789 vma_merge+0x8ce/0x8f0 madvise_update_vma+0x220/0x7f0 mm/madvise.c:155 madvise_vma_anon_name mm/madvise.c:1296 [inline] madvise_walk_vmas mm/madvise.c:1267 [inline] madvise_set_anon_name+0x31f/0x4c0 mm/madvise.c:1329 prctl_set_vma kernel/sys.c:2336 [inline] __do_sys_prctl kernel/sys.c:2631 [inline] __se_sys_prctl+0x1439/0x2610 kernel/sys.c:2355 __x64_sys_prctl+0xbf/0xd0 kernel/sys.c:2355 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f10ef88c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f10f0509168 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007f10ef9abf80 RCX: 00007f10ef88c169 RDX: 0000000020ffd000 RSI: 0000000000000000 RDI: 0000000053564d41 RBP: 00007f10f05091d0 R08: 0000000020000080 R09: 0000000000000000 R10: 0000000000003000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc75af42bf R14: 00007f10f0509300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mas_store_prealloc+0x3c0/0x420 lib/maple_tree.c:5793 Code: 48 89 df e8 32 04 be fc 48 8b 3b 48 c7 c6 83 f9 44 86 48 8b 54 24 10 31 c9 4c 8b 44 24 18 e8 97 8b ff ff eb 18 e8 e0 a1 78 fc <0f> 0b e8 c9 e4 08 00 e8 d4 a1 78 fc eb 34 e8 cd a1 78 fc 31 db 65 RSP: 0018:ffffc9000db17540 EFLAGS: 00010283 RAX: ffffffff84faf310 RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffffc90000f09000 RSI: 00000000000002b8 RDI: 00000000000002b9 RBP: ffffc9000db17650 R08: ffffffff84faf1b3 R09: fffffbfff0d0d40b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92001b62efb R14: ffffffffffffffd2 R15: 1ffff92001b62eac FS: 00007f10f0509700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f64986058 CR3: 000000011bc9c000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400