Kernel bug: kernel BUG in iov_iter_revert (2)
Subsystem: netfs, fuse
Status: fixed

Crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc64a4a1064
R13: 00007fc64a403210 R14: 0000000000000001 R15: 0030656c69662f2e
 </TASK>
------------[ cut here ]------------
kernel BUG at lib/iov_iter.c:626!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5822 Comm: syz-executor370 Not tainted 6.13.0-rc1-syzkaller-00316-gb5f217084ab3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:iov_iter_revert+0x420/0x590 lib/iov_iter.c:626
Code: 42 80 3c 20 00 48 8b 1c 24 74 08 48 89 df e8 47 f2 46 fd 4c 89 2b e9 04 01 00 00 45 85 ed 48 8b 3c 24 75 16 e8 01 30 df fc 90 <0f> 0b 41 83 fd 05 48 8b 3c 24 0f 84 58 01 00 00 48 89 f8 48 c1 e8
RSP: 0018:ffffc900037c7890 EFLAGS: 00010293
RAX: ffffffff84c041bf RBX: 0000000000000010 RCX: ffff888035405a00
RDX: 0000000000000000 RSI: ffffffff8f076430 RDI: ffffc900037c7da0
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff84c03ea4
R10: 0000000000000004 R11: ffff888035405a00 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffc900037c7d90 R15: fffffffffffffff0
FS:  00007fc64a4036c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020005000 CR3: 0000000033c16000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 fuse_direct_io+0x30b3/0x31f0 fs/fuse/file.c:1667
 fuse_direct_write_iter fs/fuse/file.c:1742 [inline]
 fuse_file_write_iter+0xae2/0xf70 fs/fuse/file.c:1787
 new_sync_write fs/read_write.c:586 [inline]
 vfs_write+0xaeb/0xd30 fs/read_write.c:679
 ksys_write+0x18f/0x2b0 fs/read_write.c:731
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc64a44f279
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc64a403208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc64a4d4408 RCX: 00007fc64a44f279
RDX: 0000000000000010 RSI: 0000000020000380 RDI: 0000000000000006
RBP: 00007fc64a4d4400 R08: 00007fc64a402fa7 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc64a4a1064
R13: 00007fc64a403210 R14: 0000000000000001 R15: 0030656c69662f2e
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:iov_iter_revert+0x420/0x590 lib/iov_iter.c:626
Code: 42 80 3c 20 00 48 8b 1c 24 74 08 48 89 df e8 47 f2 46 fd 4c 89 2b e9 04 01 00 00 45 85 ed 48 8b 3c 24 75 16 e8 01 30 df fc 90 <0f> 0b 41 83 fd 05 48 8b 3c 24 0f 84 58 01 00 00 48 89 f8 48 c1 e8
RSP: 0018:ffffc900037c7890 EFLAGS: 00010293
RAX: ffffffff84c041bf RBX: 0000000000000010 RCX: ffff888035405a00
RDX: 0000000000000000 RSI: ffffffff8f076430 RDI: ffffc900037c7da0
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff84c03ea4
R10: 0000000000000004 R11: ffff888035405a00 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffc900037c7d90 R15: fffffffffffffff0
FS:  00007fc64a4036c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020005000 CR3: 0000000033c16000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400