------------[ cut here ]------------ !folio_buffers(folio) WARNING: fs/ext4/inode.c:3937 at ext4_dirty_folio+0x167/0x1b0 fs/ext4/inode.c:3937, CPU#0: kworker/0:2/111 Modules linked in: CPU: 0 UID: 0 PID: 111 Comm: kworker/0:2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: events bio_dirty_fn RIP: 0010:ext4_dirty_folio+0x167/0x1b0 fs/ext4/inode.c:3937 Code: 0f ee a4 ff 49 83 3f 00 74 1a e8 d4 6e 32 ff 4c 89 e7 48 89 de 5b 41 5c 41 5d 41 5e 41 5f 5d e9 bf 19 cd ff e8 ba 6e 32 ff 90 <0f> 0b 90 eb e0 e8 af 6e 32 ff 90 0f 0b 90 eb a7 e8 a4 6e 32 ff 48 RSP: 0018:ffffc900011079f0 EFLAGS: 00010293 RAX: ffffffff8295b2d6 RBX: ffffea00014e87c0 RCX: ffff888000304000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffffd400029d0f8 R08: ffffea00014e87c7 R09: 1ffffd400029d0f8 R10: dffffc0000000000 R11: fffff9400029d0f9 R12: ffff888043b69678 R13: 1ffffd400029d0f9 R14: 0000000000000001 R15: ffffea00014e87e8 FS: 0000000000000000(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000012f1b000 CR4: 0000000000352ef0 Call Trace: __bio_release_pages+0x3ac/0xaf0 block/bio.c:1175 bio_release_pages include/linux/bio.h:538 [inline] bio_dirty_fn+0xac/0x100 block/bio.c:1771 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245