syzbot


KCSAN: data-race in copy_page_from_iter / copy_page_from_iter (2)

Status: auto-closed as invalid on 2021/06/22 00:41
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 451d, last: 403d
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 318d 345d 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 673d 696d 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 (4) 64 9h58m 68d 0/22 moderation: reported on 2022/04/17 07:45

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

write to 0xffff88813febb000 of 4096 bytes by task 32231 on cpu 0:
 instrument_copy_from_user include/linux/instrumented.h:136 [inline]
 copyin lib/iov_iter.c:200 [inline]
 copy_page_from_iter_iovec lib/iov_iter.c:345 [inline]
 copy_page_from_iter+0x31b/0x560 lib/iov_iter.c:994
 process_vm_rw_pages mm/process_vm_access.c:43 [inline]
 process_vm_rw_single_vec+0x294/0x460 mm/process_vm_access.c:117
 process_vm_rw_core mm/process_vm_access.c:215 [inline]
 process_vm_rw+0x347/0x4e0 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_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

write to 0xffff88813febb000 of 4096 bytes by task 32224 on cpu 1:
 instrument_copy_from_user include/linux/instrumented.h:136 [inline]
 copyin lib/iov_iter.c:200 [inline]
 copy_page_from_iter_iovec lib/iov_iter.c:345 [inline]
 copy_page_from_iter+0x31b/0x560 lib/iov_iter.c:994
 process_vm_rw_pages mm/process_vm_access.c:43 [inline]
 process_vm_rw_single_vec+0x294/0x460 mm/process_vm_access.c:117
 process_vm_rw_core mm/process_vm_access.c:215 [inline]
 process_vm_rw+0x347/0x4e0 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_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

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

Crashes (17):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/05/18 00:36 upstream 8ac91e6c6033 a343ba6b .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/05/11 08:25 upstream 1140ab592e2e ca873091 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/05/07 09:23 upstream e48661230cc3 f6da8120 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/05/05 14:08 upstream d665ea6ea86c 06c27ff5 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/25 07:45 upstream 2a1d7946fa53 36c88236 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/24 18:52 upstream 2a1d7946fa53 17f0b706 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/24 01:28 upstream 8db5efb83fa9 17f0b706 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/21 22:23 upstream 16fc44d6387e 2bc8999a .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/21 01:12 upstream 1fe5501ba1ab c0ced557 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/20 08:15 upstream 7af08140979a c0ced557 .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/18 06:40 upstream 194cf4825638 7e2b734b .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/17 09:09 upstream 9cdbf6467424 7e2b734b .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/17 06:30 upstream 2f7b98d1e55c 7e2b734b .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/10 14:34 upstream d4961772226d 6a81331a .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/10 03:56 upstream 4e04e7513b0f 6a81331a .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/04/08 22:33 upstream 3fb4f979b4fa 6a81331a .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter
ci2-upstream-kcsan-gce 2021/03/30 21:24 upstream 2bb25b3a748a 6a81331a .config log report info KCSAN: data-race in copy_page_from_iter / copy_page_from_iter