kernel BUG at mm/hugetlb.c:3814! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 9555 Comm: syz-executor438 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:__unmap_hugepage_range+0xa39/0xbd0 mm/hugetlb.c:3814 Code: 00 48 c7 c7 40 5f 35 88 e8 b4 b4 a1 ff e9 c9 fd ff ff e8 6a cc c5 ff 0f 0b e9 b0 f7 ff ff e8 5e cc c5 ff 0f 0b e8 57 cc c5 ff <0f> 0b e8 50 cc c5 ff 83 8c 24 c0 00 00 00 01 48 8d bc 24 a0 00 00 RSP: 0018:ffffc900009179b0 EFLAGS: 00010293 RAX: ffff88801d4c8e40 RBX: ffffffff8c66cb60 RCX: ffffffff81ad6024 RDX: 0000000000000000 RSI: ffffffff81ad6829 RDI: 0000000000000007 RBP: 0000000020000000 R08: ffff88801d4c8e40 R09: ffffed1005429f11 R10: ffff88802a14f887 R11: ffffed1005429f10 R12: 00000000084400f8 R13: 0000000000003000 R14: 0000000000000000 R15: 0000000000400000 FS: 0000000000000000(0000) GS:ffff88802d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3aba8f0140 CR3: 000000001567f000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unmap_hugepage_range_final+0x30/0x70 mm/hugetlb.c:3905 unmap_single_vma+0x238/0x300 mm/memory.c:1308 unmap_vmas+0x16f/0x2f0 mm/memory.c:1344 exit_mmap+0x2aa/0x510 mm/mmap.c:3150 __mmput kernel/fork.c:1085 [inline] mmput+0x168/0x4b0 kernel/fork.c:1106 exit_mm kernel/exit.c:480 [inline] do_exit+0xa51/0x2dd0 kernel/exit.c:783 do_group_exit+0x125/0x340 kernel/exit.c:894 __do_sys_exit_group kernel/exit.c:905 [inline] __se_sys_exit_group kernel/exit.c:903 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:903 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x432aa8 Code: Bad RIP value. RSP: 002b:00007ffd9fd0dd78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000432aa8 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004a6950 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 0000040000000011 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006b8180 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 641c68428f342121 ]--- RIP: 0010:__unmap_hugepage_range+0xa39/0xbd0 mm/hugetlb.c:3814 Code: 00 48 c7 c7 40 5f 35 88 e8 b4 b4 a1 ff e9 c9 fd ff ff e8 6a cc c5 ff 0f 0b e9 b0 f7 ff ff e8 5e cc c5 ff 0f 0b e8 57 cc c5 ff <0f> 0b e8 50 cc c5 ff 83 8c 24 c0 00 00 00 01 48 8d bc 24 a0 00 00 RSP: 0018:ffffc900009179b0 EFLAGS: 00010293 RAX: ffff88801d4c8e40 RBX: ffffffff8c66cb60 RCX: ffffffff81ad6024 RDX: 0000000000000000 RSI: ffffffff81ad6829 RDI: 0000000000000007 RBP: 0000000020000000 R08: ffff88801d4c8e40 R09: ffffed1005429f11 R10: ffff88802a14f887 R11: ffffed1005429f10 R12: 00000000084400f8 R13: 0000000000003000 R14: 0000000000000000 R15: 0000000000400000 FS: 0000000001292880(0000) GS:ffff88802d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000432a7e CR3: 000000001dd02000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400