syzbot


KCSAN: data-race in copy_page_from_iter / copy_page_from_iter (4)
Status: moderation: reported on 2022/04/17 07:45
Reported-by: syzbot+d5a1860863290774d676@syzkaller.appspotmail.com
First crash: 246d, last: 11d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copy_page_from_iter / copy_page_from_iter (3) 4 290d 317d 0/22 auto-closed as invalid on 2021/09/14 15:09
upstream KCSAN: data-race in copy_page_from_iter / copy_page_from_iter 4 645d 668d 0/22 auto-closed as invalid on 2020/09/24 11:06
upstream KCSAN: data-race in copy_page_from_iter / copy_page_from_iter (2) 17 374d 422d 0/22 auto-closed as invalid on 2021/06/22 00:41

Sample crash report:
==================================================================
BUG: KCSAN: data-race in copy_page_from_iter / copy_page_from_iter

write to 0xffff88813d5d0000 of 4096 bytes by task 19166 on cpu 1:
 instrument_copy_from_user include/linux/instrumented.h:136 [inline]
 copyin lib/iov_iter.c:165 [inline]
 copy_page_from_iter_iovec lib/iov_iter.c:310 [inline]
 copy_page_from_iter+0x279/0x5f0 lib/iov_iter.c:902
 process_vm_rw_pages mm/process_vm_access.c:43 [inline]
 process_vm_rw_single_vec+0x273/0x440 mm/process_vm_access.c:117
 process_vm_rw_core mm/process_vm_access.c:215 [inline]
 process_vm_rw+0x3e1/0x570 mm/process_vm_access.c:283
 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline]
 __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline]
 __x64_sys_process_vm_writev+0x76/0x90 mm/process_vm_access.c:298
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

write to 0xffff88813d5d0000 of 4096 bytes by task 19178 on cpu 0:
 instrument_copy_from_user include/linux/instrumented.h:136 [inline]
 copyin lib/iov_iter.c:165 [inline]
 copy_page_from_iter_iovec lib/iov_iter.c:310 [inline]
 copy_page_from_iter+0x279/0x5f0 lib/iov_iter.c:902
 process_vm_rw_pages mm/process_vm_access.c:43 [inline]
 process_vm_rw_single_vec+0x273/0x440 mm/process_vm_access.c:117
 process_vm_rw_core mm/process_vm_access.c:215 [inline]
 process_vm_rw+0x3e1/0x570 mm/process_vm_access.c:283
 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline]
 __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline]
 __x64_sys_process_vm_writev+0x76/0x90 mm/process_vm_access.c:298
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 19178 Comm: syz-executor.1 Not tainted 5.18.0-rc7-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (62):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/16 07:50 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/05/08 10:19 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/05/04 08:15 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/05/03 23:55 upstream ef8e4d3c2ab1 dc9e5259 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/05/03 16:38 upstream 9050ba3a61a4 dc9e5259 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/05/02 22:04 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/05/01 01:11 upstream 57ae8a492116 2df221f6 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/30 23:01 upstream 8013d1d3d2e3 2df221f6 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/17 18:56 upstream a2c29ccd9477 8bcc32a6 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/15 09:42 upstream b9b4c79e5830 b17b2923 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/13 23:59 upstream a19944809fe9 b17b2923 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/13 07:35 upstream a19944809fe9 faabdb86 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/13 03:09 upstream a19944809fe9 dacb3f1c .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/12 18:01 upstream ce522ba9ef7e dacb3f1c .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/10 02:26 upstream e1f700ebd6be e22c3da3 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/09 13:00 upstream f1b45d8ccb98 e22c3da3 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/07 19:10 upstream 3e732ebf7316 53c67432 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/05 19:31 upstream ce4c854ee868 0127c10f .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/05 14:13 upstream 312310928417 5915c2cb .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/04/02 11:38 upstream 88e6c0207623 79a2a8fc .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/31 13:01 upstream 787af64d05cd c4c32d8c .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/31 01:26 upstream 74164d284b29 9d49f3a7 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/30 08:16 upstream d888c83fcec7 6bdac766 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/28 20:12 upstream ae085d7f9365 6bdac766 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/28 09:07 upstream f82da161ea75 89bc8608 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/23 03:47 upstream 3bf03b9a0839 5ff41e94 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/22 09:08 upstream eaa54b1458ca e2d91b1d .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/12 23:28 upstream aad611a868d1 9e8eaa75 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/11 16:24 upstream 79b00034e9dc 9e8eaa75 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/03/03 07:54 upstream 92ebf5f91b4d 45a13a73 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/24 07:19 upstream 23d04328444a 6e821dbf .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/23 19:05 upstream 5c1ee569660d 6e821dbf .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/22 03:50 upstream 038101e6b2cd 6e821dbf .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/17 08:13 upstream f71077a4d84b 2bea8a27 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/13 08:37 upstream b81b1829e7e3 8b9ca619 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/09 07:08 upstream e6251ab4551f 0b33604d .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/02/05 07:11 upstream 86286e486cbd e13a05ed .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/30 01:37 upstream f8c7e4ede46f 495e00c5 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/29 13:08 upstream 169387e2aa29 495e00c5 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/28 02:35 upstream 626b2dda7651 64a8e201 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/19 20:57 upstream 1d1df41c5a33 5da9499f .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/18 19:19 upstream 99613159ad74 731a2d23 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/18 15:06 upstream e3a8b6a1e70c 731a2d23 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/16 01:42 upstream a33f5c380c4b 723cfaf0 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/15 14:16 upstream 112450df61b7 723cfaf0 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/15 00:31 upstream 871bfa02d08d 53e00b45 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/13 23:45 upstream 455e73a07f6e b8d780ab .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/10 09:02 upstream df0cc57e057f 2ca0d385 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/09 08:52 upstream 21f35d2ca83e 2ca0d385 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2022/01/02 01:54 upstream 278218f6778b e1768e9c .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/12/14 08:32 upstream 5472f14a3742 5d14b1ea .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/12/11 10:57 upstream 9e65da135b39 49ca1f59 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/12/05 17:47 upstream 79a72162048e a617004c .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/11/25 20:22 upstream b501b85957de 63eeac02 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/11/21 01:46 upstream 61564e7b3abc 4eb20a4e .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/11/01 21:38 upstream 8bb7eca972ad 098b5d53 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/10/30 20:23 upstream a379fbbcb88b 098b5d53 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/10/07 16:44 upstream 5af4055fa813 efe0f24d .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/10/04 22:41 upstream 84b3e42564ac ce697b49 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/09/27 19:05 upstream 5816b3e6577e 78494d16 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/09/23 08:55 upstream 58e2cf5d7946 8cac236e .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter