------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:1131! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 UID: 0 PID: 6589 Comm: syz.3.18 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 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:1131 [inline] RIP: 0010:resv_map_release+0x1f3/0x290 mm/hugetlb.c:1116 Code: a2 ff 48 85 db 75 1d e8 cb ae a2 ff 48 8b 7c 24 08 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 f3 b2 fa ff e8 ae ae a2 ff 90 <0f> 0b 4c 89 ef e8 63 97 05 00 e9 3d ff ff ff 48 89 ef e8 66 96 05 RSP: 0018:ffffc90003cbf8f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81ec1dcb RDX: ffff8880249d2440 RSI: ffffffff81ec1df2 RDI: 0000000000000007 RBP: ffff88801233c860 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801233c860 R13: ffff88801233c860 R14: ffff888028733188 R15: dead000000000100 FS: 0000000000000000(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e5ab37a8c CR3: 00000000297e0000 CR4: 0000000000352ef0 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+0x4a7/0x5b0 mm/hugetlb.c:5082 vma_close mm/internal.h:147 [inline] remove_vma+0x91/0x1b0 mm/vma.c:380 exit_mmap+0x4e2/0xb30 mm/mmap.c:1691 __mmput+0x12a/0x480 kernel/fork.c:1347 mmput+0x62/0x70 kernel/fork.c:1369 exit_mm kernel/exit.c:570 [inline] do_exit+0x9bf/0x2d70 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x24ed/0x26c0 kernel/signal.c:3016 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3e5a97e719 Code: Unable to access opcode bytes at 0x7f3e5a97e6ef. RSP: 002b:00007f3e5b7ac0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f3e5ab36060 RCX: 00007f3e5a97e719 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3e5ab36060 RBP: 00007f3e5ab36058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3e5ab36064 R13: 0000000000000000 R14: 00007fff43ce62d0 R15: 00007fff43ce63b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:resv_map_release mm/hugetlb.c:1131 [inline] RIP: 0010:resv_map_release+0x1f3/0x290 mm/hugetlb.c:1116 Code: a2 ff 48 85 db 75 1d e8 cb ae a2 ff 48 8b 7c 24 08 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 f3 b2 fa ff e8 ae ae a2 ff 90 <0f> 0b 4c 89 ef e8 63 97 05 00 e9 3d ff ff ff 48 89 ef e8 66 96 05 RSP: 0018:ffffc90003cbf8f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81ec1dcb RDX: ffff8880249d2440 RSI: ffffffff81ec1df2 RDI: 0000000000000007 RBP: ffff88801233c860 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801233c860 R13: ffff88801233c860 R14: ffff888028733188 R15: dead000000000100 FS: 0000000000000000(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557da62a5c38 CR3: 000000000df7e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400