syzbot


KMSAN: uninit-value in psi_poll_worker

Status: upstream: reported C repro on 2022/08/26 09:19
Reported-by: syzbot+dd8e45eb61404849cde9@syzkaller.appspotmail.com
First crash: 99d, last: 92d
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/05 01:38 21m 11115066@vivo.com patch https://github.com/google/kmsan.git master OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in update_triggers kernel/sched/psi.c:525 [inline]
BUG: KMSAN: uninit-value in psi_poll_work kernel/sched/psi.c:626 [inline]
BUG: KMSAN: uninit-value in psi_poll_worker+0x972/0x16a0 kernel/sched/psi.c:648
 update_triggers kernel/sched/psi.c:525 [inline]
 psi_poll_work kernel/sched/psi.c:626 [inline]
 psi_poll_worker+0x972/0x16a0 kernel/sched/psi.c:648
 kthread+0x31b/0x430 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

Uninit was stored to memory at:
 collect_percpu_times+0x193d/0x19a0 kernel/sched/psi.c:355
 psi_poll_work kernel/sched/psi.c:604 [inline]
 psi_poll_worker+0x587/0x16a0 kernel/sched/psi.c:648
 kthread+0x31b/0x430 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

Uninit was stored to memory at:
 collect_percpu_times+0x193d/0x19a0 kernel/sched/psi.c:355
 psi_poll_work kernel/sched/psi.c:604 [inline]
 psi_poll_worker+0x587/0x16a0 kernel/sched/psi.c:648
 kthread+0x31b/0x430 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

Uninit was stored to memory at:
 collect_percpu_times+0x193d/0x19a0 kernel/sched/psi.c:355
 psi_poll_work kernel/sched/psi.c:604 [inline]
 psi_poll_worker+0x587/0x16a0 kernel/sched/psi.c:648
 kthread+0x31b/0x430 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

Uninit was created at:
 slab_post_alloc_hook mm/slab.h:732 [inline]
 slab_alloc_node mm/slub.c:3258 [inline]
 slab_alloc mm/slub.c:3266 [inline]
 kmem_cache_alloc_trace+0x696/0xdf0 mm/slub.c:3297
 kmalloc include/linux/slab.h:600 [inline]
 psi_cgroup_alloc+0x83/0x250 kernel/sched/psi.c:960
 cgroup_create kernel/cgroup/cgroup.c:5430 [inline]
 cgroup_mkdir+0x10a3/0x3080 kernel/cgroup/cgroup.c:5550
 kernfs_iop_mkdir+0x2ba/0x520 fs/kernfs/dir.c:1185
 vfs_mkdir+0x62a/0x870 fs/namei.c:4013
 do_mkdirat+0x466/0x7b0 fs/namei.c:4038
 __do_sys_mkdirat fs/namei.c:4053 [inline]
 __se_sys_mkdirat fs/namei.c:4051 [inline]
 __x64_sys_mkdirat+0xc4/0x120 fs/namei.c:4051
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

CPU: 1 PID: 3489 Comm: psimon Not tainted 6.0.0-rc2-syzkaller-47460-g3a2b6b904ea7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
=====================================================

Crashes (42):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2022/08/26 09:54 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report syz C KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/08/26 09:27 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report syz C KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/09/02 02:35 https://github.com/google/kmsan.git master e23a6cc335d5 a805568e .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/08/30 21:48 https://github.com/google/kmsan.git master 669e25866d6c 4a380809 .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/08/30 21:23 https://github.com/google/kmsan.git master 669e25866d6c 4a380809 .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/08/28 02:04 https://github.com/google/kmsan.git master ac3859c02d7f 07177916 .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/08/26 06:44 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/08/26 06:06 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce-386 2022/08/28 01:57 https://github.com/google/kmsan.git master ac3859c02d7f 07177916 .config log report info KMSAN: uninit-value in psi_poll_worker
ci-upstream-kmsan-gce 2022/09/01 00:28 https://github.com/google/kmsan.git master e23a6cc335d5 51e54e30 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/09/01 00:28 https://github.com/google/kmsan.git master e23a6cc335d5 51e54e30 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/30 17:09 https://github.com/google/kmsan.git master 669e25866d6c 4a380809 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/30 11:53 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/30 11:44 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/29 22:13 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/29 22:13 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/29 18:31 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/28 21:24 https://github.com/google/kmsan.git master ac3859c02d7f 07177916 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/28 09:02 https://github.com/google/kmsan.git master ac3859c02d7f 07177916 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/27 00:13 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 14:43 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 13:58 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 11:29 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 07:31 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 07:05 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 06:48 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce 2022/08/26 06:07 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/30 11:57 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/30 11:45 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/30 06:54 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/29 22:12 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/29 22:12 https://github.com/google/kmsan.git master ac3859c02d7f 5b44472d .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/28 21:16 https://github.com/google/kmsan.git master ac3859c02d7f 07177916 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/27 00:11 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/27 00:11 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 20:20 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 19:54 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 15:43 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 15:28 https://github.com/google/kmsan.git master ac3859c02d7f e5a303f1 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 12:01 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 09:53 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
ci-upstream-kmsan-gce-386 2022/08/26 06:38 https://github.com/google/kmsan.git master 3a2b6b904ea7 15195ea3 .config log report info KMSAN: uninit-value in psi_show
* Struck through repros no longer work on HEAD.