syzbot


WARNING in iov_iter_revert (3)

Status: upstream: reported C repro on 2022/11/25 13:37
Reported-by: syzbot+8c7a4ca1cc31b7ce7070@syzkaller.appspotmail.com
First crash: 75d, last: 13d

Cause bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in iov_iter_revert C 74 1662d 1728d 9/24 fixed on 2018/08/07 13:43
upstream WARNING in iov_iter_revert (2) C done 9 717d 718d 22/24 fixed on 2021/04/09 19:46
Last patch testing requests:
Created Duration User Patch Repo Result
2022/11/29 02:28 20m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b7b275e60bcd report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5093 at lib/iov_iter.c:919 iov_iter_revert+0x59/0x60 lib/iov_iter.c:919
Modules linked in:
CPU: 0 PID: 5093 Comm: syz-executor370 Not tainted 6.1.0-syzkaller-13139-gf9ff5644bcc0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:iov_iter_revert+0x59/0x60 lib/iov_iter.c:919
Code: 7d 55 78 fd 48 81 fd 00 f0 ff 7f 77 18 e8 9f 58 78 fd 48 89 ee 4c 89 e7 e8 84 f8 ff ff 5d 41 5c e9 8c 58 78 fd e8 87 58 78 fd <0f> 0b eb ef 0f 1f 00 41 55 49 89 f5 41 54 49 89 fc 55 53 48 89 d3
RSP: 0018:ffffc90003d6faa0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000007fefef0c RCX: 0000000000000000
RDX: ffff888020fd1d40 RSI: ffffffff8408f879 RDI: 0000000000000007
RBP: fffffffffff01e18 R08: 0000000000000007 R09: 000000007ffff000
R10: fffffffffff01e18 R11: 0000000000092001 R12: ffffc90003d6fd18
R13: ffffc90003d6fd18 R14: ffff88807251dcf8 R15: ffff88807639f680
FS:  00007f46418bb700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555573f05d0 CR3: 00000000755b9000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 generic_file_read_iter+0x2b2/0x5b0 mm/filemap.c:2823
 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:853
 call_read_iter include/linux/fs.h:2180 [inline]
 do_iter_readv_writev+0x2e0/0x3b0 fs/read_write.c:733
 do_iter_read+0x2f2/0x750 fs/read_write.c:796
 vfs_readv+0xe5/0x150 fs/read_write.c:916
 do_preadv+0x1b6/0x270 fs/read_write.c:1008
 __do_sys_preadv2 fs/read_write.c:1070 [inline]
 __se_sys_preadv2 fs/read_write.c:1061 [inline]
 __x64_sys_preadv2+0xef/0x150 fs/read_write.c:1061
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4649b30789
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f46418bb2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000147
RAX: ffffffffffffffda RBX: 00007f4649bd47b8 RCX: 00007f4649b30789
RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4649bd47b0
R13: 00007f4649ba17e4 R14: 6573726168636f69 R15: 0030656c69662f2e
 </TASK>

Crashes (26):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2022/12/19 01:01 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in iov_iter_revert
ci2-upstream-fs 2022/11/28 22:57 upstream b7b275e60bcd 247de55b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in iov_iter_revert
ci2-upstream-fs 2023/01/23 03:07 upstream 2475bf0250de cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/21 22:08 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/18 21:48 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/18 11:46 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/16 11:12 upstream 851f657a8642 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/15 08:12 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/15 05:00 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/13 22:38 upstream 02bf43c7b7f7 f6511626 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/13 10:10 upstream 764822972d64 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/13 00:20 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci-upstream-kasan-gce-selinux-root 2022/12/12 21:49 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci-upstream-kasan-gce-root 2022/12/12 21:27 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/12 20:56 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/12 11:47 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/11 10:57 upstream 296a7b7eb792 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/11 01:57 upstream 3ecc37918c80 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/10 03:39 upstream 0d1409e4ff08 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/07 21:53 upstream 8ed710da2873 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/06 05:30 upstream 76dcd734eca2 045cbb84 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/04 18:11 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/04 10:05 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/12/01 01:34 upstream 04aa64375f48 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/11/28 22:38 upstream b7b275e60bcd 247de55b .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
ci2-upstream-fs 2022/11/21 13:29 upstream eb7081409f94 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in iov_iter_revert
* Struck through repros no longer work on HEAD.