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: 1165d, last: 3d05h
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 1183d 1194d 0/24 closed as invalid on 2019/11/19 13:24

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

read-write to 0xffffffff85a53318 of 4 bytes by task 1774 on cpu 0:
 alloc_pid+0x50d/0x6b0 kernel/pid.c:275
 copy_process+0xe97/0x2090 kernel/fork.c:2282
 kernel_clone+0x166/0x550 kernel/fork.c:2681
 user_mode_thread+0x6c/0xa0 kernel/fork.c:2757
 call_usermodehelper_exec_sync kernel/umh.c:136 [inline]
 call_usermodehelper_exec_work+0x76/0x150 kernel/umh.c:167
 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 arch/x86/entry/entry_64.S:308

read to 0xffffffff85a53318 of 4 bytes by task 16302 on cpu 1:
 copy_process+0x14c9/0x2090 kernel/fork.c:2427
 kernel_clone+0x166/0x550 kernel/fork.c:2681
 user_mode_thread+0x6c/0xa0 kernel/fork.c:2757
 call_usermodehelper_exec_sync kernel/umh.c:136 [inline]
 call_usermodehelper_exec_work+0x76/0x150 kernel/umh.c:167
 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 arch/x86/entry/entry_64.S:308

value changed: 0x800000e9 -> 0x800000ea

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 16302 Comm: kworker/u4:15 Tainted: G        W          6.2.0-rc5-syzkaller-00047-g7c46948a6e9c-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: events_unbound call_usermodehelper_exec_work
==================================================================

Crashes (1813):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2023/01/26 14:54 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/25 16:50 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/25 11:21 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/24 08:18 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/19 21:40 upstream 081edded9b38 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/18 18:54 upstream c1649ec55708 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/18 05:12 upstream 6e50979a9c87 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/16 20:47 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/15 17:55 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/15 04:28 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/13 20:50 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/13 05:52 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/12 21:47 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/10 13:06 upstream 5a41237ad1d4 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/10 04:01 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/09 03:24 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/08 20:28 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/05 21:53 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/05 05:31 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/02 06:36 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/01 15:00 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2023/01/01 01:07 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/31 01:47 upstream bff687b3dad6 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/30 09:27 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/29 15:33 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/26 02:31 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/25 12:31 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/23 19:01 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/22 03:15 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/21 08:31 upstream 6feb57c2fd7c d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/18 14:51 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/16 19:28 upstream 84e57d292203 05494336 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/15 12:54 upstream 041fae9c105a 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/14 18:35 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/14 05:33 upstream 764822972d64 f6511626 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/12 02:31 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/09 11:13 upstream f3e8416619ce 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/08 03:23 upstream 479174d402bc d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/07 16:26 upstream 8ed710da2873 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/04 19:08 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/02 14:20 upstream a4412fdd49dc e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/12/01 08:56 upstream 04aa64375f48 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/11/29 16:39 upstream ca57f02295f1 579a3740 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2022/11/29 14:12 upstream ca57f02295f1 ca9683b8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in alloc_pid / copy_process
ci2-upstream-kcsan-gce 2021/01/17 10:24 upstream 0da0a8a0a0e1 813be542 .config console log report info
ci2-upstream-kcsan-gce 2020/06/08 23:26 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 0d60b78a .config console log report
ci2-upstream-kcsan-gce 2020/06/05 14:51 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 d36418e9 .config console log report
ci2-upstream-kcsan-gce 2019/11/20 23:46 https://github.com/google/ktsan.git kcsan 5863cc791e4c 8098ea0f .config console log report
* Struck through repros no longer work on HEAD.