------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:5246! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1325 Comm: kworker/u4:4 Tainted: G W 5.10.222-syzkaller-01494-gfd58936f3c1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:ext4_do_update_inode fs/ext4/inode.c:5245 [inline] RIP: 0010:ext4_mark_iloc_dirty+0x3e51/0x3e60 fs/ext4/inode.c:5841 Code: 6d ca ff e9 0f f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 21 f1 ff ff 48 89 df e8 79 6e ca ff e9 14 f1 ff ff e8 1f d6 8c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41 RSP: 0018:ffffc9000179f2a0 EFLAGS: 00010293 RAX: ffffffff81ddd2e1 RBX: 0000000000000000 RCX: ffff888112fa2780 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000179f3b0 R08: ffffffff81ddaefd R09: ffffed102568711d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: ffff888125825000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffd88f0000 CR3: 000000012cf13000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ext4_mark_inode_dirty+0x4fc/0x7b0 fs/ext4/inode.c:6043 ext4_dirty_inode+0xdd/0x120 fs/ext4/inode.c:6079 __mark_inode_dirty+0xd0/0x9d0 fs/fs-writeback.c:2252 mark_inode_dirty_sync include/linux/fs.h:2311 [inline] __writeback_single_inode+0x2df/0xac0 fs/fs-writeback.c:1495 writeback_sb_inodes+0x99c/0x16b0 fs/fs-writeback.c:1733 wb_writeback+0x404/0xc60 fs/fs-writeback.c:1908 wb_do_writeback fs/fs-writeback.c:2053 [inline] wb_workfn+0x3d9/0x1110 fs/fs-writeback.c:2094 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace d231184b6fa44cee ]--- RIP: 0010:ext4_do_update_inode fs/ext4/inode.c:5245 [inline] RIP: 0010:ext4_mark_iloc_dirty+0x3e51/0x3e60 fs/ext4/inode.c:5841 Code: 6d ca ff e9 0f f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 21 f1 ff ff 48 89 df e8 79 6e ca ff e9 14 f1 ff ff e8 1f d6 8c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41 RSP: 0018:ffffc9000179f2a0 EFLAGS: 00010293 RAX: ffffffff81ddd2e1 RBX: 0000000000000000 RCX: ffff888112fa2780 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000179f3b0 R08: ffffffff81ddaefd R09: ffffed102568711d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: ffff888125825000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffd88f0000 CR3: 000000012cf13000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400