syzbot


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

Status: auto-closed as invalid on 2021/07/06 08:03
Subsystems: kernel
[Documentation on labels]
First crash: 1399d, last: 1336d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in complete_signal / do_group_exit (7) kernel 1 672d 647d 0/28 auto-obsoleted due to no activity on 2023/05/05 14:46
upstream KCSAN: data-race in complete_signal / do_group_exit (3) kernel 49 1440d 1512d 0/28 auto-closed as invalid on 2021/03/24 19:58
upstream KCSAN: data-race in complete_signal / do_group_exit (2) kernel 2 1693d 1710d 0/28 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in complete_signal / do_group_exit (6) kernel 1 1040d 1040d 0/28 auto-closed as invalid on 2022/04/29 00:59
upstream KCSAN: data-race in complete_signal / do_group_exit kernel 35 1783d 1911d 0/28 auto-closed as invalid on 2020/05/20 03:22
upstream KCSAN: data-race in complete_signal / do_group_exit (5) kernel 1 1142d 1142d 0/28 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 0xffff88813655fbf4 of 4 bytes by task 16004 on cpu 0:
 complete_signal+0x4a5/0x600 kernel/signal.c:1084
 __send_signal+0x680/0x760 kernel/signal.c:1221
 send_signal+0x281/0x390 kernel/signal.c:1284
 do_send_sig_info kernel/signal.c:1333 [inline]
 send_sig_info+0xb5/0x100 kernel/signal.c:1648
 send_sig+0x2b/0x30 kernel/signal.c:1658
 pipe_write+0x8a6/0xca0 fs/pipe.c:470
 call_write_iter include/linux/fs.h:2114 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0x69d/0x770 fs/read_write.c:605
 ksys_write+0xce/0x180 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:667
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88813655fbf4 of 4 bytes by task 15997 on cpu 1:
 signal_group_exit include/linux/sched/signal.h:269 [inline]
 do_group_exit+0x51/0x1a0 kernel/exit.c:906
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:934
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:932
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:932
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000 -> 0x00000004

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

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/01 08:02 upstream c2131f7e73c9 032639db .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/30 07:47 upstream b90e90f40b4f 325a8dab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/30 00:08 upstream f956cb99b938 325a8dab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/29 16:11 upstream 6799d4f2da49 325a8dab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/28 17:10 upstream 97e5bf604b7a 858ea628 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/26 06:09 upstream ad9f25d33860 93d3a9f6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/22 04:29 upstream 45af60e7ced0 3c7fef33 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/20 21:37 upstream f01da525b3de c560a65d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/18 04:02 upstream 8ac91e6c6033 a343ba6b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/14 19:14 upstream bd3c9cdb21a2 8bdd5343 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/11 11:23 upstream 1140ab592e2e ca873091 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/08 18:49 upstream dd860052c99b bc5434be .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/05/03 04:51 upstream 9ccce092fc64 77e2b668 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/04/24 05:11 upstream 8db5efb83fa9 17f0b706 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/04/22 23:17 upstream 90c911ad7445 33c28d03 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/04/21 18:43 upstream 16fc44d6387e 95777977 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/04/08 18:32 upstream 454859c552da 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/04/03 10:59 upstream 0a84c2e440f7 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/03/31 22:24 upstream d19cc4bfbff1 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
2021/03/30 19:14 upstream 2bb25b3a748a 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_group_exit
* Struck through repros no longer work on HEAD.