------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2418! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4313 Comm: kworker/u4:8 Not tainted 5.15.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:mpage_map_one_extent fs/ext4/inode.c:2418 [inline] RIP: 0010:mpage_map_and_submit_extent fs/ext4/inode.c:2459 [inline] RIP: 0010:ext4_writepages+0x3cfb/0x3d10 fs/ext4/inode.c:2827 Code: be 00 10 00 00 48 c7 c7 30 43 a8 8c 4c 89 f2 e8 cb 75 0b 02 e9 bb fb ff ff e8 31 7a 63 ff 0f 0b e8 5a 88 fe 07 e8 25 7a 63 ff <0f> 0b e8 1e 7a 63 ff 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 RSP: 0018:ffffc9000301ef60 EFLAGS: 00010293 RAX: ffffffff821c802b RBX: dffffc0000000000 RCX: ffff8880202ebb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000301f350 R08: ffffffff821c5bfb R09: ffffed100d4073ff R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806a03a088 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555560fb708 CR3: 0000000068c8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x481/0x730 mm/page-writeback.c:2364 __writeback_single_inode+0x15b/0xe30 fs/fs-writeback.c:1625 writeback_sb_inodes+0xbf0/0x1a50 fs/fs-writeback.c:1908 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2082 wb_do_writeback fs/fs-writeback.c:2225 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2266 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace d6067eb7356be541 ]--- RIP: 0010:mpage_map_one_extent fs/ext4/inode.c:2418 [inline] RIP: 0010:mpage_map_and_submit_extent fs/ext4/inode.c:2459 [inline] RIP: 0010:ext4_writepages+0x3cfb/0x3d10 fs/ext4/inode.c:2827 Code: be 00 10 00 00 48 c7 c7 30 43 a8 8c 4c 89 f2 e8 cb 75 0b 02 e9 bb fb ff ff e8 31 7a 63 ff 0f 0b e8 5a 88 fe 07 e8 25 7a 63 ff <0f> 0b e8 1e 7a 63 ff 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 RSP: 0018:ffffc9000301ef60 EFLAGS: 00010293 RAX: ffffffff821c802b RBX: dffffc0000000000 RCX: ffff8880202ebb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000301f350 R08: ffffffff821c5bfb R09: ffffed100d4073ff R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806a03a088 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd3319ff4 CR3: 000000007d5e4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400