------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:1160! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 6485 Comm: syz.3.41 Not tainted 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:1160 [inline] RIP: 0010:resv_map_release+0x1e2/0x280 mm/hugetlb.c:1145 Code: 73 9d ff 48 85 db 75 1c e8 db 77 9d ff 48 8b 3c 24 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 b4 7a fa ff e8 bf 77 9d ff 90 <0f> 0b 4c 89 f7 e8 c4 ec 05 00 e9 38 ff ff ff 48 89 ef e8 c7 eb 05 RSP: 0018:ffffc90003ac78f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff821dbdcb RDX: ffff888050388000 RSI: ffffffff821dbdf1 RDI: 0000000000000007 RBP: ffff888051145060 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888051145060 R13: ffff888051145060 R14: ffff888051145060 R15: ffff888052b8a708 FS: 0000000000000000(0000) GS:ffff8880d7085000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f866d7c2f98 CR3: 0000000026380000 CR4: 0000000000352ef0 Call Trace: kref_put include/linux/kref.h:65 [inline] hugetlb_vm_op_close+0x494/0x5a0 mm/hugetlb.c:5415 vma_close mm/internal.h:190 [inline] remove_vma+0x85/0x160 mm/vma.c:464 exit_mmap+0x50a/0xb90 mm/mmap.c:1305 __mmput+0x12a/0x410 kernel/fork.c:1133 mmput+0x62/0x70 kernel/fork.c:1156 exit_mm kernel/exit.c:582 [inline] do_exit+0x7c7/0x2bf0 kernel/exit.c:954 do_group_exit+0xd3/0x2a0 kernel/exit.c:1107 get_signal+0x2671/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7c0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x85/0x130 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x419/0x4e0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f866c97e719 Code: Unable to access opcode bytes at 0x7f866c97e6ef. RSP: 002b:00007f866d7c30e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f866cb36060 RCX: 00007f866c97e719 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f866cb36064 RBP: 00007f866cb36058 R08: 00007f866d7e5000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f866cb36064 R13: 0000000000000000 R14: 00007ffc57ae2d00 R15: 00007ffc57ae2de8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:resv_map_release mm/hugetlb.c:1160 [inline] RIP: 0010:resv_map_release+0x1e2/0x280 mm/hugetlb.c:1145 Code: 73 9d ff 48 85 db 75 1c e8 db 77 9d ff 48 8b 3c 24 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 b4 7a fa ff e8 bf 77 9d ff 90 <0f> 0b 4c 89 f7 e8 c4 ec 05 00 e9 38 ff ff ff 48 89 ef e8 c7 eb 05 RSP: 0018:ffffc90003ac78f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff821dbdcb RDX: ffff888050388000 RSI: ffffffff821dbdf1 RDI: 0000000000000007 RBP: ffff888051145060 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888051145060 R13: ffff888051145060 R14: ffff888051145060 R15: ffff888052b8a708 FS: 0000000000000000(0000) GS:ffff8880d7185000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020600000 CR3: 000000002bd35000 CR4: 0000000000352ef0