------------[ cut here ]------------ kernel BUG at fs/buffer.c:1901! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 19631 Comm: syz-executor.3 Not tainted 6.6.0-rc2-syzkaller-00143-gb5cbe7c00aa0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:__block_write_full_folio+0xba7/0xdb0 fs/buffer.c:1901 Code: 4f 90 89 ff 4c 39 eb 0f 85 68 ff ff ff 44 8b 7c 24 08 e8 3c 90 89 ff 48 8b 3c 24 e8 e3 09 b7 ff e9 ba fb ff ff e8 29 90 89 ff <0f> 0b e8 22 90 89 ff 0f 0b e8 1b 90 89 ff be cd 00 00 00 48 c7 c7 RSP: 0018:ffffc90014dfed38 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88803126b3a0 RCX: ffffc9000c2ee000 RDX: 0000000000040000 RSI: ffffffff81fe34c7 RDI: 0000000000000007 RBP: ffff88803126b3a0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: fffff520029bfdcc R14: ffffc90014dfee40 R15: 0000000000000001 FS: 00007f9cc2f276c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0652d78038 CR3: 0000000079413000 CR4: 0000000000350ee0 Call Trace: block_write_full_page+0x399/0x530 fs/buffer.c:2743 writeout+0x1b8/0x290 mm/migrate.c:894 fallback_migrate_folio mm/migrate.c:918 [inline] move_to_new_folio+0x2ae/0x690 mm/migrate.c:967 migrate_folio_move mm/migrate.c:1271 [inline] migrate_pages_batch+0x1b62/0x2c90 mm/migrate.c:1756 migrate_pages_sync mm/migrate.c:1844 [inline] migrate_pages+0x1d93/0x27c0 mm/migrate.c:1926 compact_zone+0x1dd2/0x4020 mm/compaction.c:2515 compact_node+0x13e/0x1e0 mm/compaction.c:2812 compact_nodes mm/compaction.c:2825 [inline] sysctl_compaction_handler mm/compaction.c:2871 [inline] sysctl_compaction_handler+0x11b/0x1c0 mm/compaction.c:2858 proc_sys_call_handler+0x4c6/0x6e0 fs/proc/proc_sysctl.c:600 call_write_iter include/linux/fs.h:1956 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xbf0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb88/0x1390 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1316 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x155/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9cc227cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9cc2f270c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f9cc239c050 RCX: 00007f9cc227cae9 RDX: 00000000200000c0 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007f9cc22c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9cc239c050 R15: 00007ffcc94d2dd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__block_write_full_folio+0xba7/0xdb0 fs/buffer.c:1901 Code: 4f 90 89 ff 4c 39 eb 0f 85 68 ff ff ff 44 8b 7c 24 08 e8 3c 90 89 ff 48 8b 3c 24 e8 e3 09 b7 ff e9 ba fb ff ff e8 29 90 89 ff <0f> 0b e8 22 90 89 ff 0f 0b e8 1b 90 89 ff be cd 00 00 00 48 c7 c7 RSP: 0018:ffffc90014dfed38 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88803126b3a0 RCX: ffffc9000c2ee000 RDX: 0000000000040000 RSI: ffffffff81fe34c7 RDI: 0000000000000007 RBP: ffff88803126b3a0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: fffff520029bfdcc R14: ffffc90014dfee40 R15: 0000000000000001 FS: 00007f9cc2f276c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fed26439180 CR3: 0000000079413000 CR4: 0000000000350ee0