------------[ cut here ]------------ kernel BUG at mm/filemap.c:1619! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20887 Comm: kworker/u4:6 Not tainted 6.3.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:folio_end_writeback+0x43a/0x700 mm/filemap.c:1619 Code: 84 db 00 00 00 e8 e6 2c d1 ff e9 48 fc ff ff e8 dc 2c d1 ff 4c 89 ff 48 c7 c6 a0 aa f2 8a e8 4d a7 0f 00 0f 0b e8 c6 2c d1 ff <0f> 0b e8 bf 2c d1 ff 4c 89 ff 48 c7 c6 60 ad f2 8a e8 30 a7 0f 00 RSP: 0018:ffffc90003c5eb98 EFLAGS: 00010293 RAX: ffffffff81b9397a RBX: 0000000000000081 RCX: ffff888028210000 RDX: 0000000000000000 RSI: ffffffff8aea8e80 RDI: ffffffff8b37fdc0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ca68c6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea000208bdf4 R13: 1ffffd40004117be R14: ffffea000208bdc8 R15: ffffea000208bdc0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019265000 CR3: 0000000033f93000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_write_end_io+0x639/0xbb0 fs/f2fs/data.c:377 f2fs_submit_merged_ipu_write+0x480/0x500 fs/f2fs/data.c:919 f2fs_write_single_data_page+0x15d3/0x1f60 fs/f2fs/data.c:2901 f2fs_write_cache_pages fs/f2fs/data.c:3144 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3295 [inline] f2fs_write_data_pages+0x1fac/0x35e0 fs/f2fs/data.c:3322 do_writepages+0x3a6/0x670 mm/page-writeback.c:2551 __writeback_single_inode+0x155/0xfb0 fs/fs-writeback.c:1600 writeback_sb_inodes+0x8ef/0x11d0 fs/fs-writeback.c:1891 wb_writeback+0x458/0xc70 fs/fs-writeback.c:2065 wb_do_writeback fs/fs-writeback.c:2208 [inline] wb_workfn+0x400/0xff0 fs/fs-writeback.c:2248 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_end_writeback+0x43a/0x700 mm/filemap.c:1619 Code: 84 db 00 00 00 e8 e6 2c d1 ff e9 48 fc ff ff e8 dc 2c d1 ff 4c 89 ff 48 c7 c6 a0 aa f2 8a e8 4d a7 0f 00 0f 0b e8 c6 2c d1 ff <0f> 0b e8 bf 2c d1 ff 4c 89 ff 48 c7 c6 60 ad f2 8a e8 30 a7 0f 00 RSP: 0018:ffffc90003c5eb98 EFLAGS: 00010293 RAX: ffffffff81b9397a RBX: 0000000000000081 RCX: ffff888028210000 RDX: 0000000000000000 RSI: ffffffff8aea8e80 RDI: ffffffff8b37fdc0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ca68c6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea000208bdf4 R13: 1ffffd40004117be R14: ffffea000208bdc8 R15: ffffea000208bdc0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31d2b000 CR3: 0000000039ec3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400