syzbot


WARNING in _copy_from_iter

Status: fixed on 2023/06/08 14:41
Labels: block tipc (incorrect?)
Reported-by: syzbot+d43608d061e8847ec9f3@syzkaller.appspotmail.com
Fix commit: 11a4d6f67cf5 tipc: fix kernel warning when sending SYN message
First crash: 183d, last: 87d

Cause bisection: failed (error log, bisect log)
Discussions (5)
Title Replies (including bot) Last reply
[PATCH v3 net 1/1] tipc: fix kernel warning when sending SYN message 2 (2) 2023/02/15 04:50
[PATCH v2 net 1/1] tipc: fix kernel warning when sending SYN message 5 (5) 2023/02/13 00:55
RE: [PATCH net 1/1] tipc: fix kernel warning when sending SYN message 1 (1) 2023/02/08 07:48
[PATCH net 1/1] tipc: fix kernel warning when sending SYN message 3 (3) 2023/02/08 06:56
[syzbot] WARNING in _copy_from_iter 2 (3) 2022/12/11 09:38

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5075 at lib/iov_iter.c:623 _copy_from_iter+0x2ad/0x1060 lib/iov_iter.c:623
Modules linked in:
CPU: 0 PID: 5075 Comm: syz-executor573 Not tainted 6.2.0-syzkaller-12485-gf3a2439f20d9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
RIP: 0010:_copy_from_iter+0x2ad/0x1060 lib/iov_iter.c:623
Code: 5d 41 5c 41 5d 41 5e 41 5f c3 e8 1e 8a 69 fd be 73 02 00 00 48 c7 c7 80 c0 a6 8a e8 5d 18 a6 fd e9 56 fe ff ff e8 03 8a 69 fd <0f> 0b 45 31 ff eb 8b e8 f7 89 69 fd 31 ff 89 ee e8 fe 85 69 fd 40
RSP: 0018:ffffc90003def138 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880213257c0 RSI: ffffffff841b785d RDI: 0000000000000001
RBP: 0000000000001000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffea000073ae00 R14: ffffc90003def370 R15: 0000000000001000
FS:  00005555574ea300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020670000 CR3: 000000001d32f000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 copy_page_from_iter lib/iov_iter.c:748 [inline]
 copy_page_from_iter+0x233/0x3f0 lib/iov_iter.c:737
 bio_copy_from_iter block/blk-map.c:55 [inline]
 bio_copy_user_iov block/blk-map.c:210 [inline]
 blk_rq_map_user_iov+0xb5d/0x16e0 block/blk-map.c:661
 blk_rq_map_user_io.part.0+0x1d3/0x270 block/blk-map.c:719
 blk_rq_map_user_io+0xdf/0x200 block/blk-map.c:700
 sg_start_req drivers/scsi/sg.c:1807 [inline]
 sg_common_write.constprop.0+0xdcd/0x1e00 drivers/scsi/sg.c:803
 sg_new_write.isra.0+0x522/0xa90 drivers/scsi/sg.c:770
 sg_write.part.0+0x999/0xd90 drivers/scsi/sg.c:632
 sg_write+0x8d/0xe0 drivers/scsi/sg.c:226
 do_loop_readv_writev fs/read_write.c:759 [inline]
 do_loop_readv_writev fs/read_write.c:743 [inline]
 do_iter_write+0x4ef/0x700 fs/read_write.c:863
 vfs_writev+0x1aa/0x670 fs/read_write.c:934
 do_writev+0x133/0x2f0 fs/read_write.c:977
 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:0x7f60ae6c3699
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff3f168d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f60ae6c3699
RDX: 0000000000000002 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00007f60ae6831a0 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000ffff R11: 0000000000000246 R12: 00007f60ae683230
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (32057):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/02/27 20:00 upstream f3a2439f20d9 e792ae78 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/30 18:19 upstream 6d796c50f84c 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/27 18:35 upstream 7c46948a6e9c 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/26 19:10 upstream 7c46948a6e9c 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/24 17:12 upstream 7bf70dbb1882 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/13 23:35 upstream d9fc1511728c 529798b0 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/05 10:54 upstream 512dee0c00ad 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/05 04:21 upstream 512dee0c00ad 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/01/01 06:33 upstream e4cf7c25bae5 ab32d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2022/12/29 07:05 upstream 1b929c02afd3 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2022/12/29 04:46 upstream 1b929c02afd3 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2022/12/28 06:51 upstream 1b929c02afd3 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2022/12/23 11:14 upstream 8395ae05cb5a 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2022/12/19 04:40 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2022/12/18 15:30 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2022/12/29 20:39 net-old 40cab44b9089 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in _copy_from_iter
2022/12/29 09:49 net-old 40cab44b9089 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in _copy_from_iter
2022/12/19 08:08 net-old 89529367293c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in _copy_from_iter
2022/12/29 01:46 net-next-old c183e6c3ec34 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in _copy_from_iter
2022/12/28 06:36 net-next-old c183e6c3ec34 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in _copy_from_iter
2022/12/19 03:24 net-next-old 7e68dd7d07a2 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in _copy_from_iter
2023/02/20 00:09 linux-next c068f40300a0 bcdf85f8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/02/12 10:46 linux-next 38d2b86a665b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/01/30 19:26 linux-next e2f86c02fdc9 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/01/26 19:16 linux-next 691781f561e9 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/01/26 13:13 linux-next 691781f561e9 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/01/22 18:35 linux-next d514392f17fd 559a440a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2022/12/07 21:19 linux-next 591cd61541b9 d88f3abb .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2022/12/20 00:09 upstream aeba12b26c79 c52b2efb .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in _copy_from_iter
2023/03/13 01:33 upstream 134231664868 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/03/13 00:13 upstream 134231664868 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/03/12 21:21 upstream 134231664868 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/03/06 04:49 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/03/06 03:42 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in _copy_from_iter
2023/03/06 03:14 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/03/06 01:38 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/03/05 20:00 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/03/05 12:29 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/03/05 07:36 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/03/03 20:45 upstream 2eb29d59ddf0 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/03/03 16:06 upstream 2eb29d59ddf0 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/03/02 16:28 upstream ee3f96b16468 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/03/02 13:12 upstream ee3f96b16468 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/03/02 09:34 upstream ee3f96b16468 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/03/02 07:24 upstream ee3f96b16468 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/03/01 01:28 upstream e492250d5252 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in _copy_from_iter
2023/03/01 00:11 upstream e492250d5252 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/02/28 22:19 upstream ae3419fbac84 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/28 22:19 upstream ae3419fbac84 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/28 15:30 upstream 982818426a0f 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/28 14:21 upstream 982818426a0f 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/26 20:44 upstream 2fcd07b7ccd5 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/26 18:24 upstream 2fcd07b7ccd5 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/26 17:05 upstream 2fcd07b7ccd5 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/02/26 11:00 upstream 1ec35eadc3b4 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/26 04:15 upstream 1ec35eadc3b4 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/25 23:28 upstream 489fa31ea873 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/25 21:41 upstream 489fa31ea873 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/25 05:55 upstream a93e884edf61 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in _copy_from_iter
2023/02/25 03:48 upstream a93e884edf61 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in _copy_from_iter
2023/02/25 02:18 upstream a93e884edf61 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in _copy_from_iter
2023/02/24 21:57 upstream d2980d8d8265 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in _copy_from_iter
2023/02/21 23:11 upstream 89f5349e0673 ec0a9fe9 .config console log report info ci-qemu-upstream WARNING in _copy_from_iter
2023/01/26 09:21 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in _copy_from_iter
2023/03/13 03:42 upstream 134231664868 5205ef30 .config console log report info ci-qemu-upstream-386 WARNING in _copy_from_iter
2023/03/05 19:52 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in _copy_from_iter
2023/03/04 14:19 upstream 0988a0ea7919 f8902b57 .config console log report info ci-qemu-upstream-386 WARNING in _copy_from_iter
2023/03/04 10:50 upstream 0988a0ea7919 f8902b57 .config console log report info ci-qemu-upstream-386 WARNING in _copy_from_iter
2023/03/03 10:20 upstream a9a01e1238cf f8902b57 .config console log report info ci-qemu-upstream-386 WARNING in _copy_from_iter
2023/03/01 01:15 upstream e492250d5252 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in _copy_from_iter
2023/02/26 13:34 upstream 2fcd07b7ccd5 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in _copy_from_iter
2023/02/14 23:05 net-old 05d7623a892a 1d6b4af7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in _copy_from_iter
2023/02/17 09:56 net-next-old 84cb1b53cdba 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in _copy_from_iter
2023/03/06 23:54 linux-next dc837c1a5137 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/03/06 18:55 linux-next dc837c1a5137 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/03/06 13:32 linux-next dc837c1a5137 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/03/05 23:30 linux-next 1acf39ef8f14 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/03/05 22:17 linux-next 1acf39ef8f14 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/03/03 11:27 linux-next 1acf39ef8f14 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/03/02 00:57 linux-next 1716a175592a f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/02/28 23:10 linux-next 058f4df42121 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/02/26 12:36 linux-next 8232539f864c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/02/26 08:05 linux-next 8232539f864c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/02/24 22:58 linux-next 0222aa9800b2 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2022/12/07 03:49 linux-next 591cd61541b9 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in _copy_from_iter
2023/02/20 17:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2d3827b3f393 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in _copy_from_iter
* Struck through repros no longer work on HEAD.