syzbot


KCSAN: data-race in do_exit / zap_other_threads (2)

Status: auto-closed as invalid on 2022/08/27 05:03
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 133d, last: 133d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_exit / zap_other_threads 1 1037d 1037d 0/24 auto-closed as invalid on 2020/04/10 12:18

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

write to 0xffff88811ca32954 of 4 bytes by task 2195 on cpu 0:
 exit_notify kernel/exit.c:697 [inline]
 do_exit+0xdde/0x1720 kernel/exit.c:815
 __seccomp_filter+0xeee/0xf00 kernel/seccomp.c:1304
 __secure_computing+0x9b/0x1c0 kernel/seccomp.c:1342
 syscall_trace_enter kernel/entry/common.c:70 [inline]
 __syscall_enter_from_user_work kernel/entry/common.c:92 [inline]
 syscall_enter_from_user_mode+0xb6/0x190 kernel/entry/common.c:110
 do_syscall_64+0xc/0x70 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88811ca32954 of 4 bytes by task 2196 on cpu 1:
 zap_other_threads+0xc8/0x220 kernel/signal.c:1374
 do_group_exit+0x12e/0x160 kernel/exit.c:920
 __do_sys_exit_group kernel/exit.c:936 [inline]
 __se_sys_exit_group kernel/exit.c:934 [inline]
 __x64_sys_exit_group+0x1b/0x20 kernel/exit.c:934
 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

value changed: 0x00000020 -> 0x00000010

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2196 Comm: syz-executor.2 Not tainted 5.19.0-rc7-syzkaller-00139-g4ba1329cbb94-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/07/23 05:00 upstream 4ba1329cbb94 22343af4 .config log report info KCSAN: data-race in do_exit / zap_other_threads
* Struck through repros no longer work on HEAD.