------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:1164! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 7370 Comm: syz.3.228 Not tainted 6.16.0-rc6-syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:resv_map_release mm/hugetlb.c:1164 [inline] RIP: 0010:resv_map_release+0x1e2/0x280 mm/hugetlb.c:1149 Code: 26 9f ff 48 85 db 75 1c e8 2b 2b 9f ff 48 8b 3c 24 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 94 ff fa ff e8 0f 2b 9f ff 90 <0f> 0b 4c 89 f7 e8 14 06 06 00 e9 38 ff ff ff 48 89 ef e8 17 05 06 RSP: 0018:ffffc90005af78f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff821cc74b RDX: ffff888023e84880 RSI: ffffffff821cc771 RDI: 0000000000000007 RBP: ffff888026646860 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888026646860 R13: ffff888026646860 R14: ffff888026646860 R15: ffff888055747508 FS: 0000000000000000(0000) GS:ffff8880d6813000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f700cfa2286 CR3: 000000000e382000 CR4: 0000000000352ef0 Call Trace: kref_put include/linux/kref.h:65 [inline] hugetlb_vm_op_close+0x494/0x5a0 mm/hugetlb.c:5405 vma_close mm/internal.h:190 [inline] remove_vma+0x85/0x160 mm/vma.c:461 exit_mmap+0x511/0xb90 mm/mmap.c:1309 __mmput+0x12a/0x410 kernel/fork.c:1121 mmput+0x62/0x70 kernel/fork.c:1144 exit_mm kernel/exit.c:581 [inline] do_exit+0x7c4/0x2bd0 kernel/exit.c:952 do_group_exit+0xd3/0x2a0 kernel/exit.c:1105 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x84/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdb3557e719 Code: Unable to access opcode bytes at 0x7fdb3557e6ef. RSP: 002b:00007fdb363610e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fdb35736060 RCX: 00007fdb3557e719 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fdb35736060 RBP: 00007fdb35736058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdb35736064 R13: 0000000000000000 R14: 00007ffc26d0e400 R15: 00007ffc26d0e4e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:resv_map_release mm/hugetlb.c:1164 [inline] RIP: 0010:resv_map_release+0x1e2/0x280 mm/hugetlb.c:1149 Code: 26 9f ff 48 85 db 75 1c e8 2b 2b 9f ff 48 8b 3c 24 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 94 ff fa ff e8 0f 2b 9f ff 90 <0f> 0b 4c 89 f7 e8 14 06 06 00 e9 38 ff ff ff 48 89 ef e8 17 05 06 RSP: 0018:ffffc90005af78f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff821cc74b RDX: ffff888023e84880 RSI: ffffffff821cc771 RDI: 0000000000000007 RBP: ffff888026646860 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888026646860 R13: ffff888026646860 R14: ffff888026646860 R15: ffff888055747508 FS: 0000000000000000(0000) GS:ffff8880d6713000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faafd10b338 CR3: 0000000045ad0000 CR4: 0000000000352ef0