------------[ cut here ]------------ kernel BUG at fs/buffer.c:1859! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 14561 Comm: syz-executor.1 Not tainted 6.4.0-rc4-syzkaller-00031-g8b817fded42d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__block_write_full_page+0x1204/0x1ba0 fs/buffer.c:1859 Code: 02 d0 8d ff 0f 1f 44 00 00 e8 f8 cf 8d ff e8 f3 cf 8d ff 48 8b 3c 24 48 c7 c6 e0 7d 5c 8a e8 93 b7 c8 ff 0f 0b e8 dc cf 8d ff <0f> 0b e8 d5 cf 8d ff 4c 8b 34 24 31 ff 4c 89 f3 81 e3 ff 0f 00 00 RSP: 0018:ffffc90003e2f2d8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc900037c1000 RDX: 0000000000040000 RSI: ffffffff81f59564 RDI: 0000000000000007 RBP: ffffea0000400080 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: fffff520007c5e7e R13: ffff888040c025b0 R14: ffffc90003e2f3d0 R15: 0000000000000001 FS: 00007f541d0c0700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000469661 CR3: 00000000778a2000 CR4: 00000000003506e0 DR0: 00000000342949b2 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: block_write_full_page+0x151/0x190 fs/buffer.c:2705 writeout+0x1b8/0x290 mm/migrate.c:901 fallback_migrate_folio mm/migrate.c:925 [inline] move_to_new_folio+0x2ab/0x6e0 mm/migrate.c:975 migrate_folio_move mm/migrate.c:1275 [inline] migrate_pages_batch+0x1f1e/0x3020 mm/migrate.c:1789 migrate_pages_sync mm/migrate.c:1889 [inline] migrate_pages+0x1e74/0x27d0 mm/migrate.c:1970 compact_zone+0x1c98/0x39a0 mm/compaction.c:2439 compact_node+0x12a/0x1c0 mm/compaction.c:2734 compact_nodes mm/compaction.c:2747 [inline] sysctl_compaction_handler+0x117/0x160 mm/compaction.c:2784 proc_sys_call_handler+0x49c/0x6d0 fs/proc/proc_sysctl.c:604 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x945/0xd50 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 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:0x7f541c28c169 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:00007f541d0c0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f541c3abf80 RCX: 00007f541c28c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f541c2e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffbaf75df R14: 00007f541d0c0300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__block_write_full_page+0x1204/0x1ba0 fs/buffer.c:1859 Code: 02 d0 8d ff 0f 1f 44 00 00 e8 f8 cf 8d ff e8 f3 cf 8d ff 48 8b 3c 24 48 c7 c6 e0 7d 5c 8a e8 93 b7 c8 ff 0f 0b e8 dc cf 8d ff <0f> 0b e8 d5 cf 8d ff 4c 8b 34 24 31 ff 4c 89 f3 81 e3 ff 0f 00 00 RSP: 0018:ffffc90003e2f2d8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc900037c1000 RDX: 0000000000040000 RSI: ffffffff81f59564 RDI: 0000000000000007 RBP: ffffea0000400080 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: fffff520007c5e7e R13: ffff888040c025b0 R14: ffffc90003e2f3d0 R15: 0000000000000001 FS: 00007f541d0c0700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cb8f2f1c08 CR3: 00000000778a2000 CR4: 00000000003506f0 DR0: 00000000342949b2 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400