------------[ cut here ]------------ folio expected an open fid inode->i_ino=198084d WARNING: CPU: 0 PID: 1191 at fs/9p/vfs_addr.c:39 v9fs_begin_writeback fs/9p/vfs_addr.c:39 [inline] WARNING: CPU: 0 PID: 1191 at fs/9p/vfs_addr.c:39 v9fs_begin_writeback+0x210/0x280 fs/9p/vfs_addr.c:33 Modules linked in: CPU: 0 UID: 0 PID: 1191 Comm: kworker/u32:9 Not tainted 6.12.0-rc4-syzkaller-gae90f6a6170d #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-9p-502) RIP: 0010:v9fs_begin_writeback fs/9p/vfs_addr.c:39 [inline] RIP: 0010:v9fs_begin_writeback+0x210/0x280 fs/9p/vfs_addr.c:33 Code: 00 fc ff df 48 8b 5b 48 48 8d 7b 40 48 89 fa 48 c1 ea 03 80 3c 02 00 75 66 48 8b 73 40 48 c7 c7 a0 8d af 8b e8 31 86 04 fe 90 <0f> 0b 90 90 e9 62 ff ff ff e8 e2 15 a5 fe e9 51 ff ff ff e8 48 15 RSP: 0018:ffffc90006397488 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888037670ce0 RCX: ffffffff814e71a9 RDX: ffff88802717c880 RSI: ffffffff814e71b6 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888028656dc8 R13: ffffc90006397840 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000740 CR3: 000000000df7c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netfs_writepages+0x6c0/0x9d0 fs/netfs/write_issue.c:578 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2683 __writeback_single_inode+0x166/0xfa0 fs/fs-writeback.c:1658 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1954 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x294/0xbc0 fs/fs-writeback.c:2321 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244