syzbot


KCSAN: data-race in alloc_pid / copy_process (2)
Status: moderation: reported on 2020/06/09 14:58
Reported-by: syzbot+0718f65353d72efaac1e@syzkaller.appspotmail.com
First crash: 917d, last: 15h38m
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in alloc_pid / copy_process 5 935d 945d 0/22 closed as invalid on 2019/11/19 13:24

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

read-write to 0xffffffff85a53d28 of 4 bytes by task 3102 on cpu 0:
 alloc_pid+0x50d/0x6b0 kernel/pid.c:275
 copy_process+0xeca/0x20e0 kernel/fork.c:2255
 kernel_clone+0x163/0x5c0 kernel/fork.c:2644
 __do_sys_clone kernel/fork.c:2761 [inline]
 __se_sys_clone kernel/fork.c:2745 [inline]
 __x64_sys_clone+0xbd/0xf0 kernel/fork.c:2745
 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+0x46/0xb0

read to 0xffffffff85a53d28 of 4 bytes by task 938 on cpu 1:
 copy_process+0x1528/0x20e0 kernel/fork.c:2404
 kernel_clone+0x163/0x5c0 kernel/fork.c:2644
 kernel_thread+0x7a/0xa0 kernel/fork.c:2696
 call_usermodehelper_exec_sync kernel/umh.c:135 [inline]
 call_usermodehelper_exec_work+0x76/0x150 kernel/umh.c:166
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

value changed: 0x8000010b -> 0x8000010c

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 938 Comm: kworker/u4:65 Not tainted 5.18.0-syzkaller-01444-g0350785b0a09-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound call_usermodehelper_exec_work
==================================================================

Crashes (1541):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/25 10:48 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/23 19:05 upstream 4b0986a3613c 4c7657cb .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/23 00:14 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/22 12:00 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/21 19:36 upstream 6c3f5bec9b40 7268fa62 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/21 05:56 upstream 3b5e1590a267 7268fa62 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/20 20:21 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/20 14:51 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/19 11:42 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/18 14:38 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/18 00:41 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/16 11:37 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/15 20:26 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/15 06:26 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/14 22:20 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/14 02:31 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/13 19:24 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/13 04:42 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/11 17:02 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/11 06:18 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/09 22:59 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/08 15:54 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/08 10:11 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/08 00:08 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/07 06:01 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/07 04:12 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/06 18:40 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/06 13:26 upstream fe27d189e3f4 efeff0a5 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/05 20:47 upstream 0f5d752b1395 b3f09415 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/05 17:32 upstream a7391ad35724 b3f09415 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/05 05:00 upstream a7391ad35724 dc9e5259 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/04 10:01 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/04 08:12 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/04 02:13 upstream ef8e4d3c2ab1 dc9e5259 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/03 13:41 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/03 03:18 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/02 17:15 upstream 672c0c517342 2df221f6 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/01 22:46 upstream b2da7df52e16 2df221f6 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/05/01 10:34 upstream 57ae8a492116 2df221f6 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/04/30 13:20 upstream 8013d1d3d2e3 2df221f6 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/04/30 08:31 upstream 8013d1d3d2e3 ad6b95d8 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/04/29 14:59 upstream 38d741cb70b3 44a5ca63 .config log report info KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2021/01/17 10:24 upstream 0da0a8a0a0e1 813be542 .config log report info
ci2-upstream-kcsan-gce 2020/06/08 23:26 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 0d60b78a .config log report
ci2-upstream-kcsan-gce 2020/06/05 14:51 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 d36418e9 .config log report
ci2-upstream-kcsan-gce 2019/11/20 23:46 https://github.com/google/ktsan.git kcsan 5863cc791e4c 8098ea0f .config log report