------------[ cut here ]------------ kernel BUG at mm/filemap.c:1497! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.4.278-syzkaller-04929-g8edc449e71a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:end_page_writeback+0x26e/0x270 mm/filemap.c:1497 Code: 48 ff cb e9 d3 fe ff ff e8 cf 15 e5 ff 48 ff cb 49 89 df e9 79 ff ff ff e8 bf 15 e5 ff 48 ff cb e9 6c fe ff ff e8 b2 15 e5 ff <0f> 0b 55 41 57 41 56 41 54 53 89 d5 89 f3 49 89 fe e8 9c 15 e5 ff RSP: 0018:ffff8881f5dbe808 EFLAGS: 00010293 RAX: ffffffff817f230e RBX: 0000000000000000 RCX: ffff8881f5d69f80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff817f21e4 R09: fffff94000eb0a09 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffffd4000eb0a09 R14: ffffea0007585048 R15: ffffea0007585040 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe60ca1f68 CR3: 00000001ed1bf000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_write_end_io+0x6a8/0xa60 fs/f2fs/data.c:341 generic_make_request_checks+0x31e/0x1c20 block/blk-core.c:985 generic_make_request+0xe0/0xc90 block/blk-core.c:1025 submit_bio+0x1bf/0x6d0 block/blk-core.c:1199 f2fs_submit_merged_ipu_write+0x472/0x4f0 fs/f2fs/data.c:857 f2fs_write_single_data_page+0x13f5/0x1a00 fs/f2fs/data.c:2873 f2fs_write_cache_pages fs/f2fs/data.c:3084 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3235 [inline] f2fs_write_data_pages+0x169a/0x2c80 fs/f2fs/data.c:3262 do_writepages+0x12b/0x270 mm/page-writeback.c:2344 __writeback_single_inode+0xd9/0xcc0 fs/fs-writeback.c:1467 writeback_sb_inodes+0x9e0/0x1800 fs/fs-writeback.c:1730 wb_writeback+0x403/0xd70 fs/fs-writeback.c:1905 wb_do_writeback fs/fs-writeback.c:2050 [inline] wb_workfn+0x3b6/0x1230 fs/fs-writeback.c:2091 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Modules linked in: ---[ end trace 9d249dab0b786453 ]--- RIP: 0010:end_page_writeback+0x26e/0x270 mm/filemap.c:1497 Code: 48 ff cb e9 d3 fe ff ff e8 cf 15 e5 ff 48 ff cb 49 89 df e9 79 ff ff ff e8 bf 15 e5 ff 48 ff cb e9 6c fe ff ff e8 b2 15 e5 ff <0f> 0b 55 41 57 41 56 41 54 53 89 d5 89 f3 49 89 fe e8 9c 15 e5 ff RSP: 0018:ffff8881f5dbe808 EFLAGS: 00010293 RAX: ffffffff817f230e RBX: 0000000000000000 RCX: ffff8881f5d69f80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff817f21e4 R09: fffff94000eb0a09 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffffd4000eb0a09 R14: ffffea0007585048 R15: ffffea0007585040 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe60ca1f68 CR3: 00000001f0eb1000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400