syzbot


WARNING in cpuset_attach

Status: upstream: reported C repro on 2022/08/24 16:36
Reported-by: syzbot+29d3a3b4d86c8136ad9e@syzkaller.appspotmail.com
Fix commit: 43626dade36f cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 166d, last: 165d

Cause bisection: failed (bisect log)
Last patch testing requests:
Created Duration User Patch Repo Result
2022/08/25 07:50 19m penguin-kernel@i-love.sakura.ne.jp patch upstream OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3614 at kernel/cpu.c:347 lockdep_assert_cpus_held kernel/cpu.c:347 [inline]
WARNING: CPU: 0 PID: 3614 at kernel/cpu.c:347 lockdep_assert_cpus_held+0xbd/0xe0 kernel/cpu.c:336
Modules linked in:
CPU: 1 PID: 3614 Comm: vhost-3613 Not tainted 6.0.0-rc2-syzkaller-00054-gc40e8341e3b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:lockdep_assert_cpus_held kernel/cpu.c:347 [inline]
RIP: 0010:lockdep_assert_cpus_held+0xbd/0xe0 kernel/cpu.c:336
Code: e8 38 0c 34 00 be ff ff ff ff 48 c7 c7 70 64 e3 8b e8 37 71 37 08 31 ff 89 c3 89 c6 e8 dc 08 34 00 85 db 75 d5 e8 13 0c 34 00 <0f> 0b eb cc 48 c7 c7 44 66 de 8d e8 d3 73 80 00 e9 62 ff ff ff 48
RSP: 0018:ffffc9000377fbe8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888025c19d80 RSI: ffffffff8147ff0d RDI: 0000000000000005
RBP: ffff888075905000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000377fda0
R13: ffffffff8bfdc2a0 R14: 1ffff920006eff84 R15: ffffc9000377fdc4
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000150 CR3: 0000000025a0b000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 cpuset_attach+0x92/0x520 kernel/cgroup/cpuset.c:2292
 cgroup_migrate_execute+0xbc7/0x1220 kernel/cgroup/cgroup.c:2584
 cgroup_attach_task+0x416/0x7c0 kernel/cgroup/cgroup.c:2875
 cgroup_attach_task_all+0xde/0x140 kernel/cgroup/cgroup-v1.c:70
 vhost_attach_cgroups_work+0x3a/0x90 drivers/vhost/vhost.c:523
 vhost_worker+0x23d/0x3d0 drivers/vhost/vhost.c:364
 kthread+0x2e4/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (20922):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2022/08/24 20:31 upstream c40e8341e3b3 514514f6 .config strace log report syz C WARNING in cpuset_attach
ci-upstream-kasan-gce-smack-root 2022/08/25 18:40 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 18:37 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-smack-root 2022/08/25 18:32 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-smack-root 2022/08/25 18:28 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-selinux-root 2022/08/25 18:25 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 18:21 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-root 2022/08/25 18:19 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 18:16 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 18:14 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 18:07 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 18:01 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 18:01 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:58 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:52 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-root 2022/08/25 17:49 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:47 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:44 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:38 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:35 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:32 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/25 17:30 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 17:25 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 17:21 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 17:11 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 17:08 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-selinux-root 2022/08/25 17:03 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 16:59 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-selinux-root 2022/08/25 16:55 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 16:51 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 16:41 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 16:35 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 16:31 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-root 2022/08/25 16:11 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 16:05 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream 2022/08/25 15:57 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-smack-root 2022/08/25 15:52 upstream c40e8341e3b3 9b5bf4cd .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce 2022/08/24 16:35 upstream c40e8341e3b3 514514f6 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 19:09 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 18:52 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64-compat 2022/08/25 18:10 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 18:04 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 17:55 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 17:41 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream-386 2022/08/25 17:16 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64-compat 2022/08/25 16:45 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream-386 2022/08/25 16:26 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream-386 2022/08/25 16:21 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 16:16 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu2-arm64 2022/08/25 16:01 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream-386 2022/08/25 15:47 upstream c40e8341e3b3 e5fb9cf5 .config console log report info WARNING in cpuset_attach
ci-upstream-kasan-gce-386 2022/08/25 13:33 upstream c40e8341e3b3 514514f6 .config console log report info WARNING in cpuset_attach
ci-qemu-upstream-386 2022/08/24 10:25 upstream c40e8341e3b3 514514f6 .config console log report info WARNING in cpuset_attach
* Struck through repros no longer work on HEAD.