syzbot


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

Status: auto-closed as invalid on 2022/09/14 16:33
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 114d, last: 114d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copyin / copyin 6 911d 1017d 0/24 closed as invalid on 2020/06/18 14:24

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

write to 0xffff888141ac7000 of 4096 bytes by task 7115 on cpu 1:
 instrument_copy_from_user include/linux/instrumented.h:136 [inline]
 copyin+0x67/0x90 lib/iov_iter.c:180
 _copy_from_iter+0x256/0x8b0 lib/iov_iter.c:628
 copy_page_from_iter+0x303/0x3a0 lib/iov_iter.c:749
 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+0x63/0xcd

write to 0xffff888141ac7000 of 4096 bytes by task 7116 on cpu 0:
 instrument_copy_from_user include/linux/instrumented.h:136 [inline]
 copyin+0x67/0x90 lib/iov_iter.c:180
 _copy_from_iter+0x256/0x8b0 lib/iov_iter.c:628
 copy_page_from_iter+0x303/0x3a0 lib/iov_iter.c:749
 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+0x63/0xcd

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7116 Comm: syz-executor.1 Not tainted 5.19.0-syzkaller-13322-gd4252071b97d-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/08/10 16:31 upstream d4252071b97d aaa9eaa0 .config log report info KCSAN: data-race in copyin / copyin
* Struck through repros no longer work on HEAD.