------------[ cut here ]------------ kernel BUG at mm/khugepaged.c:1925! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12512 Comm: syz-executor.0 Not tainted 6.3.0-rc7-next-20230418-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:collapse_file+0x2bed/0x5db0 mm/khugepaged.c:1925 Code: ff ff c7 44 24 30 00 00 00 00 e9 ce ef ff ff e8 39 76 a7 ff 48 c7 c6 80 7e 5a 8a 48 89 ef e8 fa 07 e3 ff 0f 0b e8 23 76 a7 ff <0f> 0b c7 44 24 30 1e 00 00 00 e9 8a ef ff ff e8 0f 76 a7 ff 4c 8b RSP: 0018:ffffc90015f277c0 EFLAGS: 00010012 RAX: 000000000000231b RBX: 0000000000000002 RCX: ffffc90003cb1000 RDX: 0000000000040000 RSI: ffffffff81dc0f2d RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000005 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000200 R15: 0000000000000001 FS: 00007f1cc4e64700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32822000 CR3: 000000002accc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hpage_collapse_scan_file+0xbef/0x1550 mm/khugepaged.c:2415 madvise_collapse+0x53b/0xca0 mm/khugepaged.c:2877 madvise_vma_behavior+0x649/0x20a0 mm/madvise.c:1074 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1248 do_madvise.part.0+0x287/0x5e0 mm/madvise.c:1428 do_madvise mm/madvise.c:1441 [inline] __do_sys_madvise mm/madvise.c:1441 [inline] __se_sys_madvise mm/madvise.c:1439 [inline] __x64_sys_madvise+0x117/0x150 mm/madvise.c:1439 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1cc408c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1cc4e64168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f1cc41abf80 RCX: 00007f1cc408c169 RDX: 0000000000000019 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f1cc40e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9fba321f R14: 00007f1cc4e64300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:collapse_file+0x2bed/0x5db0 mm/khugepaged.c:1925 Code: ff ff c7 44 24 30 00 00 00 00 e9 ce ef ff ff e8 39 76 a7 ff 48 c7 c6 80 7e 5a 8a 48 89 ef e8 fa 07 e3 ff 0f 0b e8 23 76 a7 ff <0f> 0b c7 44 24 30 1e 00 00 00 e9 8a ef ff ff e8 0f 76 a7 ff 4c 8b RSP: 0018:ffffc90015f277c0 EFLAGS: 00010012 RAX: 000000000000231b RBX: 0000000000000002 RCX: ffffc90003cb1000 RDX: 0000000000040000 RSI: ffffffff81dc0f2d RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000005 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000200 R15: 0000000000000001 FS: 00007f1cc4e64700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32822000 CR3: 000000002accc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400