------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2746! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15790 Comm: kworker/u4:1 Not tainted 6.1.18-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:ext4_writepages+0x3fa9/0x3fb0 fs/ext4/inode.c:2745 Code: c7 10 73 0b 8d 4c 89 f2 e8 e4 42 2c 02 e9 b9 fb ff ff e8 ca 18 51 ff 0f 0b e8 c3 18 51 ff 0f 0b e8 9c 65 50 08 e8 b7 18 51 ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe RSP: 0018:ffffc90004416f60 EFLAGS: 00010293 RAX: ffffffff82394869 RBX: 0000008000000000 RCX: ffff888019630000 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90004417350 R08: ffffffff82390f50 R09: ffffed1016a8d50f R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc90004417710 R14: 0000008410000000 R15: ffffc90004417220 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c29000 CR3: 000000002d533000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000006 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x3a2/0x670 mm/page-writeback.c:2469 __writeback_single_inode+0x1c4/0x15d0 fs/fs-writeback.c:1587 writeback_sb_inodes+0xbe3/0x1b10 fs/fs-writeback.c:1878 wb_writeback+0x504/0x1070 fs/fs-writeback.c:2052 wb_do_writeback fs/fs-writeback.c:2195 [inline] wb_workfn+0x487/0x10f0 fs/fs-writeback.c:2235 process_one_work+0x909/0x1380 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x268/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x3fa9/0x3fb0 fs/ext4/inode.c:2745 Code: c7 10 73 0b 8d 4c 89 f2 e8 e4 42 2c 02 e9 b9 fb ff ff e8 ca 18 51 ff 0f 0b e8 c3 18 51 ff 0f 0b e8 9c 65 50 08 e8 b7 18 51 ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe RSP: 0018:ffffc90004416f60 EFLAGS: 00010293 RAX: ffffffff82394869 RBX: 0000008000000000 RCX: ffff888019630000 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90004417350 R08: ffffffff82390f50 R09: ffffed1016a8d50f R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc90004417710 R14: 0000008410000000 R15: ffffc90004417220 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019139000 CR3: 0000000029247000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000006 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400