syzbot


WARNING in cpuset_attach

Status: fixed on 2023/02/24 13:51
Subsystems: cgroups
[Documentation on labels]
Reported-by: syzbot+29d3a3b4d86c8136ad9e@syzkaller.appspotmail.com
Fix commit: 43626dade36f cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
First crash: 774d, last: 773d
Cause bisection: failed (error log, bisect log)
  
Discussions (8)
Title Replies (including bot) Last reply
[PATCH v2 4.19 0/3] Backport patches to fix threadgroup_rwsem <-> cpus_read_lock() deadlock 5 (5) 2023/04/03 13:30
[PATCH 4.19 0/3] Backport patches to fix threadgroup_rwsem <-> cpus_read_lock() deadlock 6 (6) 2023/03/16 07:45
[PATCH 5.4 000/120] 5.4.215-rc1 review 132 (132) 2022/09/28 16:22
[PATCH 5.10 00/39] 5.10.145-rc1 review 51 (51) 2022/09/25 15:20
[PATCH 5.15 00/45] 5.15.70-rc1 review 56 (56) 2022/09/23 11:21
[PATCH 5.19 00/38] 5.19.11-rc1 review 42 (42) 2022/09/22 16:42
[PATCH] cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all() 2 (2) 2022/08/25 17:44
[syzbot] WARNING in cpuset_attach 0 (2) 2022/08/24 20:32
Last patch testing requests (1)
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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/24 20:31 upstream c40e8341e3b3 514514f6 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in cpuset_attach
2022/08/25 18:40 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cpuset_attach
2022/08/25 18:37 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 18:32 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cpuset_attach
2022/08/25 18:28 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cpuset_attach
2022/08/25 18:25 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in cpuset_attach
2022/08/25 18:21 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 18:19 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-root WARNING in cpuset_attach
2022/08/25 18:16 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 18:14 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 18:07 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 18:01 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 18:01 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:58 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:52 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:49 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-root WARNING in cpuset_attach
2022/08/25 17:47 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:44 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:38 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:35 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:32 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:30 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 17:25 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 17:21 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 17:11 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 17:08 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 17:03 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in cpuset_attach
2022/08/25 16:59 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 16:55 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in cpuset_attach
2022/08/25 16:51 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 16:41 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 16:35 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 16:31 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 16:11 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-root WARNING in cpuset_attach
2022/08/25 16:05 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 15:57 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream WARNING in cpuset_attach
2022/08/25 15:52 upstream c40e8341e3b3 9b5bf4cd .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cpuset_attach
2022/08/24 16:35 upstream c40e8341e3b3 514514f6 .config console log report info ci-upstream-kasan-gce WARNING in cpuset_attach
2022/08/25 19:09 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 18:52 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 18:10 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64-compat WARNING in cpuset_attach
2022/08/25 18:04 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 17:55 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 17:41 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 17:16 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream-386 WARNING in cpuset_attach
2022/08/25 16:45 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64-compat WARNING in cpuset_attach
2022/08/25 16:26 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream-386 WARNING in cpuset_attach
2022/08/25 16:21 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream-386 WARNING in cpuset_attach
2022/08/25 16:16 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 16:01 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu2-arm64 WARNING in cpuset_attach
2022/08/25 15:47 upstream c40e8341e3b3 e5fb9cf5 .config console log report info ci-qemu-upstream-386 WARNING in cpuset_attach
2022/08/25 13:33 upstream c40e8341e3b3 514514f6 .config console log report info ci-upstream-kasan-gce-386 WARNING in cpuset_attach
2022/08/24 10:25 upstream c40e8341e3b3 514514f6 .config console log report info ci-qemu-upstream-386 WARNING in cpuset_attach
* Struck through repros no longer work on HEAD.