------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:3957! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 59 Comm: kworker/u8:4 Not tainted 6.16.0-rc4-next-20250630-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:do_write_page+0xa44/0xb10 fs/f2fs/segment.c:3956 Code: c2 5a ad fd 49 89 ed 48 89 e8 48 25 ff 0f 00 00 74 1a e8 cf 55 ad fd e9 9f 00 00 00 e8 c5 55 ad fd 90 0f 0b e8 bd 55 ad fd 90 <0f> 0b 4d 89 ee 4c 89 ef be 08 00 00 00 e8 1a 6c 11 fe 49 c1 ee 03 RSP: 0018:ffffc9000210ec10 EFLAGS: 00010293 RAX: ffffffff841275d3 RBX: ffffc9000210ed60 RCX: ffff88801a52bc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000210ed7c R08: ffffffff8e72d8cf R09: 1ffffffff1ce5b19 R10: dffffc0000000000 R11: fffffbfff1ce5b1a R12: ffff88807c0d8000 R13: 1ffff92000421daf R14: dffffc0000000000 R15: ffffc9000210ed7c FS: 0000000000000000(0000) GS:ffff888125d1d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61cb3b65b8 CR3: 0000000032aac000 CR4: 00000000003526f0 Call Trace: f2fs_do_write_node_page+0x3b/0x60 fs/f2fs/segment.c:4002 __write_node_folio+0x8c1/0x1550 fs/f2fs/node.c:1746 f2fs_sync_node_pages+0x104d/0x1a00 fs/f2fs/node.c:2092 f2fs_write_node_pages+0x303/0x6e0 fs/f2fs/node.c:2195 do_writepages+0x32e/0x550 mm/page-writeback.c:2636 __writeback_single_inode+0x145/0xff0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x6c7/0x1010 fs/fs-writeback.c:1976 wb_writeback+0x43b/0xaf0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x409/0xef0 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_write_page+0xa44/0xb10 fs/f2fs/segment.c:3956 Code: c2 5a ad fd 49 89 ed 48 89 e8 48 25 ff 0f 00 00 74 1a e8 cf 55 ad fd e9 9f 00 00 00 e8 c5 55 ad fd 90 0f 0b e8 bd 55 ad fd 90 <0f> 0b 4d 89 ee 4c 89 ef be 08 00 00 00 e8 1a 6c 11 fe 49 c1 ee 03 RSP: 0018:ffffc9000210ec10 EFLAGS: 00010293 RAX: ffffffff841275d3 RBX: ffffc9000210ed60 RCX: ffff88801a52bc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000210ed7c R08: ffffffff8e72d8cf R09: 1ffffffff1ce5b19 R10: dffffc0000000000 R11: fffffbfff1ce5b1a R12: ffff88807c0d8000 R13: 1ffff92000421daf R14: dffffc0000000000 R15: ffffc9000210ed7c FS: 0000000000000000(0000) GS:ffff888125c1d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a8f8358660 CR3: 000000000df36000 CR4: 00000000003526f0