------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2609! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 1031 Comm: kworker/u4:7 Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:ext4_do_writepages+0x3d16/0x3d20 fs/ext4/inode.c:2608 Code: b0 8e 4c 89 f2 e8 7a a7 95 02 e9 ab fb ff ff e8 90 db 34 ff 90 0f 0b e8 88 db 34 ff 90 0f 0b e8 c0 e7 66 09 e8 7b db 34 ff 90 <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000232ec40 EFLAGS: 00010293 RAX: ffffffff82600ef5 RBX: 0000004000000000 RCX: ffff888000e32440 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000232f050 R08: ffffffff825fd6f3 R09: 1ffff110089db3c1 R10: dffffc0000000000 R11: ffffed10089db3c2 R12: 0000000000000001 R13: 0000000024208060 R14: 0000004210000000 R15: ffff888044eda068 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558487671ea0 CR3: 000000000e734000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2813 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 __writeback_single_inode+0x14f/0x10d0 fs/fs-writeback.c:1658 writeback_sb_inodes+0x80c/0x1370 fs/fs-writeback.c:1954 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2025 wb_writeback+0x42f/0xbd0 fs/fs-writeback.c:2136 wb_check_background_flush fs/fs-writeback.c:2206 [inline] wb_do_writeback fs/fs-writeback.c:2294 [inline] wb_workfn+0xc58/0x1090 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x3d16/0x3d20 fs/ext4/inode.c:2608 Code: b0 8e 4c 89 f2 e8 7a a7 95 02 e9 ab fb ff ff e8 90 db 34 ff 90 0f 0b e8 88 db 34 ff 90 0f 0b e8 c0 e7 66 09 e8 7b db 34 ff 90 <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000232ec40 EFLAGS: 00010293 RAX: ffffffff82600ef5 RBX: 0000004000000000 RCX: ffff888000e32440 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000232f050 R08: ffffffff825fd6f3 R09: 1ffff110089db3c1 R10: dffffc0000000000 R11: ffffed10089db3c2 R12: 0000000000000001 R13: 0000000024208060 R14: 0000004210000000 R15: ffff888044eda068 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558487671ea0 CR3: 0000000011b74000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400