R10: 000000007ffff000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007fec5e735f80 R15: 00007ffd61f44e68 ------------[ cut here ]------------ WARNING: CPU: 2 PID: 6176 at lib/iov_iter.c:255 _copy_from_iter+0x391/0x1540 lib/iov_iter.c:255 Modules linked in: CPU: 2 UID: 0 PID: 6176 Comm: syz.3.177 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:_copy_from_iter+0x391/0x1540 lib/iov_iter.c:255 Code: 60 fd 0f 01 cb 48 89 d9 4c 89 f7 48 89 ee f3 a4 0f 1f 00 48 89 cd 0f 01 ca 49 89 df 49 29 cf e9 2d ff ff ff e8 30 d8 fe fc 90 <0f> 0b 90 e9 bd fd ff ff e8 22 d8 fe fc 89 ee bf 01 00 00 00 e8 f6 RSP: 0018:ffffc9000434eb38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000007fec RCX: ffffffff848ea3f8 RDX: ffff88804a34a440 RSI: ffffffff848ea6d0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802e3d4060 R13: ffffc9000434ef20 R14: ffff88802e3d4060 R15: dffffc0000000000 FS: 00007fec5f40f6c0(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001900 CR3: 00000000293c4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_from_iter include/linux/uio.h:219 [inline] copy_from_iter_full include/linux/uio.h:236 [inline] pdu_write_u net/9p/protocol.c:234 [inline] p9pdu_vwritef+0x2d0/0x1cf0 net/9p/protocol.c:614 p9_client_prepare_req+0x244/0x4d0 net/9p/client.c:651 p9_client_rpc+0x1c3/0xc10 net/9p/client.c:691 p9_client_write+0x31f/0x680 net/9p/client.c:1645 v9fs_issue_write+0xe2/0x180 fs/9p/vfs_addr.c:59 netfs_do_issue_write+0x92/0x110 fs/netfs/write_issue.c:233 netfs_issue_write fs/netfs/write_issue.c:260 [inline] netfs_advance_write fs/netfs/write_issue.c:301 [inline] netfs_advance_write+0x384/0xc80 fs/netfs/write_issue.c:269 netfs_write_folio+0xc19/0x1930 fs/netfs/write_issue.c:485 netfs_writepages+0x29a/0x9d0 fs/netfs/write_issue.c:581 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2683 filemap_fdatawrite_wbc mm/filemap.c:398 [inline] filemap_fdatawrite_wbc+0x148/0x1c0 mm/filemap.c:388 __filemap_fdatawrite_range+0xb3/0xf0 mm/filemap.c:431 file_write_and_wait_range+0xca/0x140 mm/filemap.c:788 v9fs_file_fsync+0xdb/0x1c0 fs/9p/vfs_file.c:418 vfs_fsync_range+0x136/0x220 fs/sync.c:188 generic_write_sync include/linux/fs.h:2871 [inline] netfs_file_write_iter+0x3dd/0x4f0 fs/netfs/buffered_write.c:487 v9fs_file_write_iter+0x9b/0x100 fs/9p/vfs_file.c:407 iter_file_splice_write+0x90f/0x10b0 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x18f/0x6c0 fs/splice.c:1164 splice_direct_to_actor+0x346/0xa40 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x178/0x250 fs/splice.c:1233 do_sendfile+0xb0c/0xe40 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1455 [inline] __se_sys_sendfile64 fs/read_write.c:1441 [inline] __x64_sys_sendfile64+0x1da/0x220 fs/read_write.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fec5e57dff9 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:00007fec5f40f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fec5e735f80 RCX: 00007fec5e57dff9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: 00007fec5f40f090 R08: 0000000000000000 R09: 0000000000000000 R10: 000000007ffff000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007fec5e735f80 R15: 00007ffd61f44e68