------------[ cut here ]------------ kernel BUG at mm/filemap.c:1359! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 361 Comm: kworker/u4:3 Not tainted 5.4.225-syzkaller-00029-g6a5ec6cea0cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:end_page_writeback+0x19c/0x1a0 mm/filemap.c:1359 Code: 5d 41 5e 41 5f 5d e9 73 fa ff ff e8 8e fe e4 ff 49 ff cc e9 d1 fe ff ff e8 81 fe e4 ff 49 ff ce e9 52 ff ff ff e8 74 fe e4 ff <0f> 0b 66 90 55 41 57 41 56 41 55 41 54 53 41 89 d4 89 f3 49 89 fe RSP: 0018:ffff8881d29de950 EFLAGS: 00010293 RAX: ffffffff8180809c RBX: 0000000000000000 RCX: ffff8881d3708000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81808017 R09: fffff94000f522a9 R10: fffff94000f522a9 R11: 1ffffd4000f522a8 R12: ffffea0007a91540 R13: ffffea0007a91548 R14: 1ffffd4000f522a9 R15: ffffea0007a91540 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faaa80bf000 CR3: 00000001dc86e000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_write_end_io+0x5c7/0xae0 fs/f2fs/data.c:341 generic_make_request_checks+0x25f/0xf80 block/blk-core.c:989 generic_make_request+0xcf/0xe60 block/blk-core.c:1029 submit_bio+0x142/0x640 block/blk-core.c:1203 f2fs_submit_merged_ipu_write+0x4ac/0x520 fs/f2fs/data.c:857 f2fs_write_single_data_page+0x139d/0x19d0 fs/f2fs/data.c:2872 f2fs_write_cache_pages fs/f2fs/data.c:3083 [inline] __f2fs_write_data_pages+0x15cb/0x2c20 fs/f2fs/data.c:3234 do_writepages+0x13a/0x280 mm/page-writeback.c:2344 __writeback_single_inode+0xc5/0x840 fs/fs-writeback.c:1467 writeback_sb_inodes+0xa04/0x1890 fs/fs-writeback.c:1730 wb_writeback+0x429/0xcb0 fs/fs-writeback.c:1905 wb_do_writeback+0x1f2/0xbd0 fs/fs-writeback.c:2050 wb_workfn+0xf8/0x450 fs/fs-writeback.c:2091 process_one_work+0x6ca/0xc40 kernel/workqueue.c:2287 worker_thread+0xae0/0x1440 kernel/workqueue.c:2433 kthread+0x2d8/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Modules linked in: ---[ end trace b0fe203f8c269521 ]--- RIP: 0010:end_page_writeback+0x19c/0x1a0 mm/filemap.c:1359 Code: 5d 41 5e 41 5f 5d e9 73 fa ff ff e8 8e fe e4 ff 49 ff cc e9 d1 fe ff ff e8 81 fe e4 ff 49 ff ce e9 52 ff ff ff e8 74 fe e4 ff <0f> 0b 66 90 55 41 57 41 56 41 55 41 54 53 41 89 d4 89 f3 49 89 fe RSP: 0018:ffff8881d29de950 EFLAGS: 00010293 RAX: ffffffff8180809c RBX: 0000000000000000 RCX: ffff8881d3708000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81808017 R09: fffff94000f522a9 R10: fffff94000f522a9 R11: 1ffffd4000f522a8 R12: ffffea0007a91540 R13: ffffea0007a91548 R14: 1ffffd4000f522a9 R15: ffffea0007a91540 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faaaf68c948 CR3: 00000001d6aba000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400