EXT4-fs (loop2): This should not happen!! Data will be lost ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2453! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 177 Comm: kworker/u4:2 Not tainted 5.10.161-syzkaller-00019-g416c4356f372 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:mpage_map_one_extent+0x5df/0x680 fs/ext4/inode.c:2453 Code: f6 48 0f a3 05 62 7b c1 04 0f 92 c3 40 0f 92 c6 31 ff e8 b4 a3 8f ff 84 db 75 11 e8 9b a0 8f ff e9 74 fa ff ff e8 91 a0 8f ff <0f> 0b 65 ff 05 64 ec 24 7e 48 c7 c0 68 cf 9c 86 48 c1 e8 03 42 80 RSP: 0018:ffffc90000c77068 EFLAGS: 00010293 RAX: ffffffff81dd811f RBX: 0000000000000000 RCX: ffff88810dfb62c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c770b0 R08: ffffffff81dd7fa8 R09: ffffed1024651900 R10: ffffed1024651900 R11: 1ffff110246518ff R12: 0000000000000000 R13: ffffc90000c773b4 R14: 0000000000000000 R15: 1ffff9200018ee77 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa6198e2000 CR3: 00000001224f5000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mpage_map_and_submit_extent fs/ext4/inode.c:2494 [inline] ext4_writepages+0x15e9/0x3710 fs/ext4/inode.c:2862 do_writepages+0x13a/0x280 mm/page-writeback.c:2358 __writeback_single_inode+0xb8/0x6e0 fs/fs-writeback.c:1467 writeback_sb_inodes+0x999/0x1700 fs/fs-writeback.c:1730 wb_writeback+0x42f/0xc20 fs/fs-writeback.c:1905 wb_do_writeback+0x222/0xbd0 fs/fs-writeback.c:2050 wb_workfn+0xf8/0x3f0 fs/fs-writeback.c:2091 process_one_work+0x726/0xc10 kernel/workqueue.c:2296 worker_thread+0xb27/0x1550 kernel/workqueue.c:2442 kthread+0x349/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 Modules linked in: ---[ end trace 6685ef521e2c4aa4 ]--- RIP: 0010:mpage_map_one_extent+0x5df/0x680 fs/ext4/inode.c:2453 Code: f6 48 0f a3 05 62 7b c1 04 0f 92 c3 40 0f 92 c6 31 ff e8 b4 a3 8f ff 84 db 75 11 e8 9b a0 8f ff e9 74 fa ff ff e8 91 a0 8f ff <0f> 0b 65 ff 05 64 ec 24 7e 48 c7 c0 68 cf 9c 86 48 c1 e8 03 42 80 RSP: 0018:ffffc90000c77068 EFLAGS: 00010293 RAX: ffffffff81dd811f RBX: 0000000000000000 RCX: ffff88810dfb62c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c770b0 R08: ffffffff81dd7fa8 R09: ffffed1024651900 R10: ffffed1024651900 R11: 1ffff110246518ff R12: 0000000000000000 R13: ffffc90000c773b4 R14: 0000000000000000 R15: 1ffff9200018ee77 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc7b9031b40 CR3: 0000000116142000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400