syzbot


KCSAN: data-race in complete_signal / do_group_exit (6)

Status: auto-closed as invalid on 2022/04/29 00:59
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 257d, last: 257d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in complete_signal / do_group_exit (4) 20 554d 617d 0/24 auto-closed as invalid on 2021/07/06 08:03
upstream KCSAN: data-race in complete_signal / do_group_exit (3) 49 658d 730d 0/24 auto-closed as invalid on 2021/03/24 19:58
upstream KCSAN: data-race in complete_signal / do_group_exit (2) 2 910d 928d 0/24 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in complete_signal / do_group_exit 35 1001d 1129d 0/24 auto-closed as invalid on 2020/05/20 03:22
upstream KCSAN: data-race in complete_signal / do_group_exit (5) 1 360d 360d 0/24 auto-closed as invalid on 2022/01/16 06:51

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

write to 0xffff8881035d4e34 of 4 bytes by task 9872 on cpu 0:
 complete_signal+0x4b6/0x610 kernel/signal.c:1048
 __send_signal+0x680/0x790 kernel/signal.c:1185
 send_signal+0x28b/0x3a0 kernel/signal.c:1248
 do_send_sig_info+0x9b/0xe0 kernel/signal.c:1297
 send_sig_info kernel/signal.c:1677 [inline]
 send_sig+0x4f/0x60 kernel/signal.c:1687
 wait_for_space fs/splice.c:991 [inline]
 splice_file_to_pipe+0x30b/0x360 fs/splice.c:1016
 do_splice+0xc53/0xde0 fs/splice.c:1104
 __do_splice fs/splice.c:1144 [inline]
 __do_sys_splice fs/splice.c:1350 [inline]
 __se_sys_splice+0x2bd/0x3a0 fs/splice.c:1332
 __x64_sys_splice+0x74/0x80 fs/splice.c:1332
 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+0x44/0xae

read to 0xffff8881035d4e34 of 4 bytes by task 9869 on cpu 1:
 do_group_exit+0x3b/0x160 kernel/exit.c:903
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:935
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:933
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:933
 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+0x44/0xae

value changed: 0x00000002 -> 0x00000004

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 9869 Comm: syz-executor.3 Not tainted 5.17.0-syzkaller-07593-g52deda9551a0-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/03/25 00:55 upstream 52deda9551a0 89bc8608 .config log report info KCSAN: data-race in complete_signal / do_group_exit
* Struck through repros no longer work on HEAD.