------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:1129! invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 5335 Comm: syz-executor.1 Not tainted 6.8.0-rc1-next-20240125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:resv_map_release mm/hugetlb.c:1129 [inline] RIP: 0010:resv_map_release+0x1f3/0x290 mm/hugetlb.c:1114 Code: aa ff 48 85 db 75 1d e8 3b f3 aa ff 48 8b 7c 24 08 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 03 09 fb ff e8 1e f3 aa ff 90 <0f> 0b 4c 89 ef e8 83 76 05 00 e9 3d ff ff ff 48 89 ef e8 86 75 05 RSP: 0018:ffffc90018dd7858 EFLAGS: 00010287 RAX: 0000000000014100 RBX: 0000000000000001 RCX: ffffc9001a032000 RDX: 0000000000040000 RSI: ffffffff81e14c52 RDI: 0000000000000007 RBP: ffff88808c111060 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: ffffffff81e68c74 R12: ffff88808c111060 R13: ffff88808c111060 R14: ffff88801e802848 R15: dead000000000100 FS: 00007f8438ab16c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000003 CR3: 000000007e926000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kref_put include/linux/kref.h:65 [inline] hugetlb_vm_op_close+0x4f5/0x5d0 mm/hugetlb.c:5165 remove_vma+0x8b/0x180 mm/mmap.c:141 remove_mt mm/mmap.c:2279 [inline] do_vmi_align_munmap+0x1318/0x1ad0 mm/mmap.c:2625 do_vmi_munmap+0x20b/0x450 mm/mmap.c:2689 mmap_region+0x188/0x2810 mm/mmap.c:2740 do_mmap+0x8ae/0xf10 mm/mmap.c:1375 vm_mmap_pgoff+0x1f6/0x410 mm/util.c:573 ksys_mmap_pgoff+0x425/0x5b0 mm/mmap.c:1421 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f8437c7cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8438ab10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f8437dabf80 RCX: 00007f8437c7cda9 RDX: 0000000000000000 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f8437cc947a R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8437dabf80 R15: 00007ffefe5ce108 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:resv_map_release mm/hugetlb.c:1129 [inline] RIP: 0010:resv_map_release+0x1f3/0x290 mm/hugetlb.c:1114 Code: aa ff 48 85 db 75 1d e8 3b f3 aa ff 48 8b 7c 24 08 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 03 09 fb ff e8 1e f3 aa ff 90 <0f> 0b 4c 89 ef e8 83 76 05 00 e9 3d ff ff ff 48 89 ef e8 86 75 05 RSP: 0018:ffffc90018dd7858 EFLAGS: 00010287 RAX: 0000000000014100 RBX: 0000000000000001 RCX: ffffc9001a032000 RDX: 0000000000040000 RSI: ffffffff81e14c52 RDI: 0000000000000007 RBP: ffff88808c111060 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: ffffffff81e68c74 R12: ffff88808c111060 R13: ffff88808c111060 R14: ffff88801e802848 R15: dead000000000100 FS: 00007f8438ab16c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc9c77ad988 CR3: 000000007e926000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400