------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:3957! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 4560 Comm: kworker/u8:10 Not tainted 6.16.0-rc3-next-20250627-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: writeback wb_workfn (flush-7:3) RIP: 0010:do_write_page+0xa44/0xb10 fs/f2fs/segment.c:3956 Code: 82 7f ad fd 49 89 ed 48 89 e8 48 25 ff 0f 00 00 74 1a e8 8f 7a ad fd e9 9f 00 00 00 e8 85 7a ad fd 90 0f 0b e8 7d 7a ad fd 90 <0f> 0b 4d 89 ee 4c 89 ef be 08 00 00 00 e8 7a 7c 11 fe 49 c1 ee 03 RSP: 0018:ffffc9000e6868f8 EFLAGS: 00010293 RAX: ffffffff841257e3 RBX: ffffc9000e686be0 RCX: ffff888032a99e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000e686bfc R08: ffffffff8e72eb4f R09: 1ffffffff1ce5d69 R10: dffffc0000000000 R11: fffffbfff1ce5d6a R12: ffff888028948000 R13: 1ffff92001cd0d7f R14: dffffc0000000000 R15: ffffc9000e686bfc FS: 0000000000000000(0000) GS:ffff888125c1e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000013c000 CR3: 000000005a432000 CR4: 00000000003526f0 Call Trace: f2fs_outplace_write_data+0x11a/0x220 fs/f2fs/segment.c:4017 f2fs_do_write_data_page+0x12ea/0x1a40 fs/f2fs/data.c:2752 f2fs_write_single_data_page+0x9f1/0x1680 fs/f2fs/data.c:2868 f2fs_write_cache_pages fs/f2fs/data.c:3133 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3282 [inline] f2fs_write_data_pages+0x195b/0x3000 fs/f2fs/data.c:3309 do_writepages+0x32b/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+0xade/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x711/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: 82 7f ad fd 49 89 ed 48 89 e8 48 25 ff 0f 00 00 74 1a e8 8f 7a ad fd e9 9f 00 00 00 e8 85 7a ad fd 90 0f 0b e8 7d 7a ad fd 90 <0f> 0b 4d 89 ee 4c 89 ef be 08 00 00 00 e8 7a 7c 11 fe 49 c1 ee 03 RSP: 0018:ffffc9000e6868f8 EFLAGS: 00010293 RAX: ffffffff841257e3 RBX: ffffc9000e686be0 RCX: ffff888032a99e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000e686bfc R08: ffffffff8e72eb4f R09: 1ffffffff1ce5d69 R10: dffffc0000000000 R11: fffffbfff1ce5d6a R12: ffff888028948000 R13: 1ffff92001cd0d7f R14: dffffc0000000000 R15: ffffc9000e686bfc FS: 0000000000000000(0000) GS:ffff888125d1e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000819000 CR3: 00000000329c4000 CR4: 00000000003526f0