syzbot


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

Status: auto-closed as invalid on 2021/07/17 21:02
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 656d, last: 472d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_exit / get_signal 9 701d 808d 0/24 auto-closed as invalid on 2020/11/30 13:39

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

write to 0xffff888135fda588 of 8 bytes by task 21632 on cpu 0:
 forget_original_parent kernel/exit.c:642 [inline]
 exit_notify kernel/exit.c:669 [inline]
 do_exit+0x876/0x1560 kernel/exit.c:846
 do_group_exit+0xce/0x1a0 kernel/exit.c:923
 get_signal+0xfc3/0x1610 kernel/signal.c:2835
 arch_do_signal_or_restart+0x2a/0x220 arch/x86/kernel/signal.c:789
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x109/0x190 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301
 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888135fda588 of 8 bytes by task 21544 on cpu 1:
 ptrace_signal kernel/signal.c:2566 [inline]
 get_signal+0xcf6/0x1610 kernel/signal.c:2723
 arch_do_signal_or_restart+0x2a/0x220 arch/x86/kernel/signal.c:789
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x109/0x190 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301
 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0xffff888134791000 -> 0xffff8881009a1080

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

Crashes (27):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/06/12 20:56 upstream ad347abe4a98 1ba81399 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/06/01 04:03 upstream c2131f7e73c9 032639db .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/05/27 17:47 upstream d7c5303fbc8a 858ea628 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/05/24 13:12 upstream c4681547bcce 3c7fef33 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/05/21 03:42 upstream ba816d3c265c 3c7fef33 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/05/19 02:33 upstream 8ac91e6c6033 a343ba6b .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/05/15 06:58 upstream bd3c9cdb21a2 8bdd5343 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/05/01 22:29 upstream 9f67672a817e 77e2b668 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/28 04:09 upstream e359bce39d90 805b5003 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/24 18:57 upstream 2a1d7946fa53 17f0b706 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/21 16:52 upstream 1fe5501ba1ab 95777977 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/20 09:26 upstream 7af08140979a c0ced557 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/11 15:29 upstream 52e44129fba5 6a81331a .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/06 21:33 upstream 2d743660786e 6a81331a .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/04/01 04:11 upstream d19cc4bfbff1 6a81331a .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/03/20 06:24 upstream 8b12a62a4e3e 3d01c4de .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/02/17 16:57 upstream f40ddce88593 052f8d9f .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/02/11 01:01 upstream 291009f656e8 a52ee10a .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/02/03 23:30 upstream 3afe9076a7c1 624dad51 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/02/01 06:10 upstream 1048ba83fb1c fc9fd31e .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/01/24 11:45 upstream e1ae4b0be158 52e37319 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/01/22 06:53 upstream 83d09ad4b950 d4f4eca5 .config log report info KCSAN: data-race in do_exit / get_signal
ci2-upstream-kcsan-gce 2021/01/10 20:42 upstream 0653161f0fac 2c1f2513 .config log report info
ci2-upstream-kcsan-gce 2020/12/30 21:31 upstream f6e1ea196492 ecb8c012 .config log report info
ci2-upstream-kcsan-gce 2020/12/28 22:53 upstream c76e02c59e13 8259d56c .config log report info
ci2-upstream-kcsan-gce 2020/12/22 22:56 upstream 8653b778e454 04201c06 .config log report info
ci2-upstream-kcsan-gce 2020/12/10 17:00 upstream a2f5ea9e314b 2a55c22b .config log report info
* Struck through repros no longer work on HEAD.