syzbot


KCSAN: data-race in do_sysinfo / release_task

Status: auto-closed as invalid on 2020/02/28 03:59
Subsystems: kernel
[Documentation on labels]
First crash: 1587d, last: 1587d

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

write to 0xffffffff86205cf8 of 4 bytes by task 3785 on cpu 0:
 __unhash_process kernel/exit.c:74 [inline]
 __exit_signal kernel/exit.c:157 [inline]
 release_task+0x74f/0xc60 kernel/exit.c:207
 exit_notify kernel/exit.c:687 [inline]
 do_exit+0xd94/0x18c0 kernel/exit.c:818
 do_group_exit+0xb4/0x1c0 kernel/exit.c:895
 get_signal+0x2a2/0x1320 kernel/signal.c:2734
 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffffffff86205cf8 of 4 bytes by task 3835 on cpu 1:
 do_sysinfo+0x89/0x2c0 kernel/sys.c:2528
 __do_sys_sysinfo+0x33/0x90 kernel/sys.c:2581
 __se_sys_sysinfo kernel/sys.c:2577 [inline]
 __x64_sys_sysinfo+0x2a/0x40 kernel/sys.c:2577
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/20 03:50 https://github.com/google/ktsan.git kcsan 245a43005292 36650b4b .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.