------------[ cut here ]------------ WARNING: CPU: 1 PID: 8078 at mm/page-writeback.c:2742 __folio_mark_dirty+0x100/0xec0 mm/page-writeback.c:2742 Modules linked in: CPU: 1 UID: 0 PID: 8078 Comm: syz.8.281 Not tainted 6.16.0-rc4-syzkaller-00108-g17bbde2e1716 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__folio_mark_dirty+0x100/0xec0 mm/page-writeback.c:2742 Code: 3c 08 00 74 08 48 89 df e8 fd 59 27 00 4c 8b 33 4c 89 f6 48 83 e6 08 31 ff e8 bc 06 c6 ff 49 83 e6 08 75 20 e8 d1 01 c6 ff 90 <0f> 0b 90 eb 1a e8 c6 01 c6 ff e9 bb 08 00 00 e8 bc 01 c6 ff 48 8b RSP: 0018:ffffc9000b69f630 EFLAGS: 00010083 RAX: ffffffff81fa4bbf RBX: ffffea0001165b80 RCX: 0000000000080000 RDX: ffffc9000e463000 RSI: 000000000000621b RDI: 000000000000621c RBP: 0000000000000001 R08: ffffea0001165b87 R09: 1ffffd400022cb70 R10: dffffc0000000000 R11: fffff9400022cb71 R12: 0000000000000a06 R13: ffff888059dc5658 R14: 0000000000000000 R15: ffff888059dc5660 FS: 00007f1a5b3706c0(0000) GS:ffff888125d84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33401ff8 CR3: 00000000344d6000 CR4: 00000000003526f0 Call Trace: filemap_dirty_folio+0x10d/0x190 mm/page-writeback.c:2774 nilfs_dirty_folio+0x50/0x360 fs/nilfs2/inode.c:183 __bio_release_pages+0x103/0x1a0 block/bio.c:1138 bio_release_pages include/linux/bio.h:465 [inline] dio_bio_complete fs/direct-io.c:515 [inline] dio_await_completion fs/direct-io.c:534 [inline] __blockdev_direct_IO+0x2bf8/0x33d0 fs/direct-io.c:1300 blockdev_direct_IO include/linux/fs.h:3477 [inline] nilfs_direct_IO+0xed/0x120 fs/nilfs2/inode.c:267 generic_file_read_iter+0x31c/0x510 mm/filemap.c:2880 new_sync_read fs/read_write.c:491 [inline] vfs_read+0x4cd/0x980 fs/read_write.c:572 ksys_read+0x145/0x250 fs/read_write.c:715 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1a5a58e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1a5b370038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f1a5a7b6160 RCX: 00007f1a5a58e929 RDX: 0000000000001000 RSI: 0000200000001400 RDI: 0000000000000004 RBP: 00007f1a5a610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1a5a7b6160 R15: 00007ffe557dfa58