syzbot


KCSAN: data-race in alloc_pid / copy_process

Status: closed as invalid on 2019/11/19 13:24
Subsystems: kernel
[Documentation on labels]
First crash: 1878d, last: 1867d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in alloc_pid / copy_process (2) kernel 2858 9h55m 1647d 0/28 moderation: reported on 2020/06/09 14:58

Sample crash report:
==================================================================
BUG: KCSAN: data-race in alloc_pid / copy_process

write to 0xffffffff85a77590 of 4 bytes by task 25372 on cpu 0:
 alloc_pid+0x392/0x5c0 kernel/pid.c:227
 copy_process+0x216a/0x3b50 kernel/fork.c:2029
 _do_fork+0xfe/0x6e0 kernel/fork.c:2366
 __do_sys_clone kernel/fork.c:2521 [inline]
 __se_sys_clone kernel/fork.c:2502 [inline]
 __x64_sys_clone+0x12b/0x160 kernel/fork.c:2502
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffffffff85a77590 of 4 bytes by task 8175 on cpu 1:
 copy_process+0x2844/0x3b50 kernel/fork.c:2163
 _do_fork+0xfe/0x6e0 kernel/fork.c:2366
 kernel_thread+0xa4/0xd0 kernel/fork.c:2453
 call_usermodehelper_exec_sync kernel/umh.c:135 [inline]
 call_usermodehelper_exec_work+0x75/0x190 kernel/umh.c:187
 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269
 worker_thread+0xa0/0x800 kernel/workqueue.c:2415
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8175 Comm: kworker/u4:7 Not tainted 5.4.0-rc3+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound call_usermodehelper_exec_work
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/02 22:12 https://github.com/google/ktsan.git kcsan 05f2236801fe d603afc9 .config console log report ci2-upstream-kcsan-gce
2019/10/29 04:12 https://github.com/google/ktsan.git kcsan 05f2236801fe 5ea87a66 .config console log report ci2-upstream-kcsan-gce
2019/10/28 17:36 https://github.com/google/ktsan.git kcsan 05f2236801fe 439d7b14 .config console log report ci2-upstream-kcsan-gce
2019/10/26 01:59 https://github.com/google/ktsan.git kcsan 05f2236801fe 413926c5 .config console log report ci2-upstream-kcsan-gce
2019/10/23 04:21 https://github.com/google/ktsan.git kcsan 05f2236801fe d0686497 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.