syzbot


KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task

Status: auto-closed as invalid on 2021/12/17 00:39
Reported-by: syzbot+dee8aba1873dd5de86bb@syzkaller.appspotmail.com
First crash: 619d, last: 381d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task (2) 1 111d 111d 0/24 auto-closed as invalid on 2022/09/13 09:31

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

write to 0xffff88812a54c518 of 4 bytes by task 31322 on cpu 0:
 wait_task_stopped kernel/exit.c:1192 [inline]
 wait_consider_task+0xb8b/0x1900 kernel/exit.c:1378
 ptrace_do_wait kernel/exit.c:1418 [inline]
 do_wait+0x1f4/0x680 kernel/exit.c:1525
 kernel_wait4+0x14b/0x1b0 kernel/exit.c:1684
 __do_sys_wait4 kernel/exit.c:1712 [inline]
 __se_sys_wait4 kernel/exit.c:1708 [inline]
 __x64_sys_wait4+0x90/0x120 kernel/exit.c:1708
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88812a54c518 of 4 bytes by task 31321 on cpu 1:
 do_notify_parent_cldstop+0x1c1/0x290
 ptrace_stop+0x28c/0x5d0 kernel/signal.c:2248
 ptrace_do_notify kernel/signal.c:2315 [inline]
 ptrace_notify+0x109/0x160 kernel/signal.c:2325
 ptrace_report_syscall include/linux/tracehook.h:66 [inline]
 tracehook_report_syscall_entry include/linux/tracehook.h:105 [inline]
 arch_syscall_enter_tracehook include/linux/entry-common.h:98 [inline]
 syscall_trace_enter+0x87/0x2b0 kernel/entry/common.c:61
 __syscall_enter_from_user_work kernel/entry/common.c:90 [inline]
 syscall_enter_from_user_mode+0x1c/0x20 kernel/entry/common.c:108
 do_syscall_64+0x25/0xd0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000005 -> 0x00000000

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

Crashes (60):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/11/12 00:38 upstream ca2ef2d9f2aa 75b04091 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/11/07 20:44 upstream b5013d084e03 4c1be0be .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/10/13 14:51 upstream f4d0cc426f77 9d56e7dd .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/10/10 07:29 upstream 7fd2bf83d59a 838e7e2c .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/10/07 16:23 upstream 5af4055fa813 efe0f24d .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/10/06 01:34 upstream 60a9483534ed 0a63fd36 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/10/02 11:44 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/10/01 11:35 upstream 4de593fb965f 1d849ab4 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/30 19:43 upstream 02d5e016800d 0f01403d .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/30 01:54 upstream 02d5e016800d be530f6c .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/22 17:22 upstream cf1d2c3e7e2f 8cac236e .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/21 01:27 upstream e8f71f89236e af796c18 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/18 06:06 upstream 4357f03d6611 70b76c1d .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/15 14:47 upstream 3ca706c189db 07e953c1 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/14 16:29 upstream 1619b69edce1 07e953c1 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/14 10:21 upstream d0ee23f9d78b 58d09404 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/12 12:38 upstream c605c39677b9 3ce60af8 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/11 13:30 upstream 926de8c4326c 3ce60af8 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/09 13:17 upstream a3fa7a101dcf e2776ee4 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/08 22:26 upstream ac08b1c68d1b e2776ee4 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/07 00:25 upstream 4b93c544e90e 6ca60148 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/04 07:36 upstream a9c9a6f741cd d236a457 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/09/03 01:32 upstream 7ba88a2a09f4 f62a5829 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/26 18:28 upstream 73f3af7b4611 b318694d .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/25 19:45 upstream fe67f4dd8daa b599f2fc .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/24 06:19 upstream d5ae8d7f85b7 b599f2fc .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/23 09:57 upstream 1bdc3d5be7e1 b599f2fc .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/21 09:23 upstream fa54d366a6e4 b599f2fc .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/20 01:12 upstream f87d64319e6f e2da378b .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/12 19:13 upstream f8fbb47c6e86 c551a195 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/07 23:52 upstream 85a90500f9a1 6972b106 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/06 16:51 upstream 902e7f373fff 6972b106 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/08/05 15:01 upstream 251a1524293d 7f7bb950 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/07/30 18:16 upstream 764a5bc89b12 6c236867 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/07/20 14:36 upstream 8cae8cd89f05 1b201b48 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/07/14 18:53 upstream 8096acd7442e 94e0b707 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/07/09 23:32 upstream 3dbdb38e2869 8f5a7b8c .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/07/09 02:51 upstream 3dbdb38e2869 1b20171a .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/07/07 10:43 upstream 3dbdb38e2869 4846d5c1 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/06/12 10:23 upstream f21b807c3cf8 1ba81399 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/06/11 02:34 upstream f09eacca59d2 1ba81399 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/06/09 05:17 upstream 4c8684fe555e 5c2fe346 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/06/04 23:53 upstream 16f0596fc1d7 500c2339 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/05/29 08:22 upstream 5ff2756afde0 858ea628 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/05/24 19:25 upstream c4681547bcce 3c7fef33 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/05/22 04:59 upstream 45af60e7ced0 3c7fef33 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/05/14 11:26 upstream 315d99318179 8bdd5343 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/05/06 05:46 upstream a79cdfba68a1 06c27ff5 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/05/04 11:45 upstream 5e321ded302d 09efdd63 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/26 01:29 upstream d2d09fbe33f8 2a82f1b3 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/25 18:36 upstream d2d09fbe33f8 36c88236 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/24 14:02 upstream 8db5efb83fa9 17f0b706 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/17 18:49 upstream 9cdbf6467424 7e2b734b .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/16 12:54 upstream 7e25f40eab52 7e2b734b .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/11 17:18 upstream 52e44129fba5 6a81331a .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/10 16:42 upstream d4961772226d 6a81331a .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/04/02 11:05 upstream 1678e493d530 6a81331a .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/03/27 18:50 upstream 0f4498cef9f5 a8529b82 .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/03/20 08:30 upstream 8b12a62a4e3e 3d01c4de .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
ci2-upstream-kcsan-gce 2021/03/19 05:20 upstream bf152b0b41dc 380dcc3e .config log report info KCSAN: data-race in do_notify_parent_cldstop / wait_consider_task
* Struck through repros no longer work on HEAD.