syzbot


KCSAN: data-race in do_group_exit / do_group_exit (7)

Status: auto-closed as invalid on 2021/10/22 14:01
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 445d, last: 445d
similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_group_exit / do_group_exit 1 1138d 1138d 0/24 closed as invalid on 2019/11/19 13:44
upstream KCSAN: data-race in do_group_exit / do_group_exit (3) 2 921d 952d 0/24 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in do_group_exit / do_group_exit (4) 6 804d 881d 0/24 auto-closed as invalid on 2020/10/28 04:41
upstream KCSAN: data-race in do_group_exit / do_group_exit (5) 2 702d 708d 0/24 auto-closed as invalid on 2021/02/07 13:19
upstream KCSAN: data-race in do_group_exit / do_group_exit (2) 4 1089d 1105d 0/24 auto-closed as invalid on 2020/02/20 16:37
upstream KCSAN: data-race in do_group_exit / do_group_exit (6) 12 562d 652d 0/24 auto-closed as invalid on 2021/06/27 02:37

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

write to 0xffff888116483634 of 4 bytes by task 15879 on cpu 0:
 do_group_exit+0x136/0x1a0 kernel/exit.c:916
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:933
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:931
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:931
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888116483634 of 4 bytes by task 15886 on cpu 1:
 signal_group_exit include/linux/sched/signal.h:269 [inline]
 do_group_exit+0x51/0x1a0 kernel/exit.c:905
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:933
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:931
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:931
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000002 -> 0x00000004

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 15886 Comm: syz-executor.4 Tainted: G        W         5.15.0-rc1-syzkaller #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 2021/09/17 13:58 upstream bdb575f87217 70b76c1d .config log report info KCSAN: data-race in do_group_exit / do_group_exit
* Struck through repros no longer work on HEAD.