syzbot


KCSAN: data-race in copy_process / set_task_ioprio

Status: auto-closed as invalid on 2022/03/13 14:05
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 293d, last: 293d

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

write to 0xffff8881183435f0 of 8 bytes by task 11511 on cpu 1:
 set_task_ioprio+0x22b/0x250 block/blk-ioc.c:290
 __do_sys_ioprio_set block/ioprio.c:124 [inline]
 __se_sys_ioprio_set+0x27a/0x5d0 block/ioprio.c:68
 __x64_sys_ioprio_set+0x3f/0x50 block/ioprio.c:68
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881183435f0 of 8 bytes by task 11508 on cpu 0:
 copy_io include/linux/iocontext.h:124 [inline]
 copy_process+0x1457/0x2f30 kernel/fork.c:2170
 kernel_clone+0x15c/0x6a0 kernel/fork.c:2555
 __do_sys_clone kernel/fork.c:2672 [inline]
 __se_sys_clone kernel/fork.c:2656 [inline]
 __x64_sys_clone+0xc6/0xf0 kernel/fork.c:2656
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000000 -> 0xffff888116336740

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 11508 Comm: syz-executor.5 Not tainted 5.17.0-rc2-syzkaller-00353-g90c9e950c0de-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/02/06 14:02 upstream 90c9e950c0de a7dab638 .config log report info KCSAN: data-race in copy_process / set_task_ioprio
* Struck through repros no longer work on HEAD.