------------[ cut here ]------------ kernel BUG at mm/filemap.c:1619! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5768 Comm: kworker/u4:8 Not tainted 6.3.0-rc5-syzkaller-00247-gcdc9718d5e59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:folio_end_writeback+0x43a/0x700 mm/filemap.c:1619 Code: 84 db 00 00 00 e8 06 2d d1 ff e9 48 fc ff ff e8 fc 2c d1 ff 4c 89 ff 48 c7 c6 a0 ab f2 8a e8 4d a7 0f 00 0f 0b e8 e6 2c d1 ff <0f> 0b e8 df 2c d1 ff 4c 89 ff 48 c7 c6 60 ae f2 8a e8 30 a7 0f 00 RSP: 0018:ffffc90014b26b98 EFLAGS: 00010293 RAX: ffffffff81b9395a RBX: 0000000000000081 RCX: ffff88807e208000 RDX: 0000000000000000 RSI: ffffffff8aea8f20 RDI: ffffffff8b37fec0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ca68c6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0000e329b4 R13: 1ffffd40001c6536 R14: ffffea0000e32988 R15: ffffea0000e32980 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3289fdfc0 CR3: 000000002b434000 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 06 2d d1 ff e9 48 fc ff ff e8 fc 2c d1 ff 4c 89 ff 48 c7 c6 a0 ab f2 8a e8 4d a7 0f 00 0f 0b e8 e6 2c d1 ff <0f> 0b e8 df 2c d1 ff 4c 89 ff 48 c7 c6 60 ae f2 8a e8 30 a7 0f 00 RSP: 0018:ffffc90014b26b98 EFLAGS: 00010293 RAX: ffffffff81b9395a RBX: 0000000000000081 RCX: ffff88807e208000 RDX: 0000000000000000 RSI: ffffffff8aea8f20 RDI: ffffffff8b37fec0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ca68c6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0000e329b4 R13: 1ffffd40001c6536 R14: ffffea0000e32988 R15: ffffea0000e32980 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019e4c000 CR3: 00000000224aa000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400