syzbot


WARNING in cset_cgroup_from_root

Status: fixed on 2024/09/23 09:27
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+f54542dba5f9e94b7187@syzkaller.appspotmail.com
Fix commit: f5b7a9792041 cgroup: Make operations on the cgroup root_list RCU safe
First crash: 123d, last: 107d
Fix bisection: fixed by (bisect log) :
commit f5b7a9792041f16c8e32a34e58be2f8d0d612aa1
Author: Yafang Shao <laoar.shao@gmail.com>
Date: Sun Oct 29 06:14:29 2023 +0000

  cgroup: Make operations on the cgroup root_list RCU safe

  
Bug presence (2)
Date Name Commit Repro Result
2024/08/05 linux-6.1.y (ToT) 48d525b0e463 C [report] WARNING in cset_cgroup_from_root
2024/08/05 upstream (ToT) de9c2c66ad8e C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in cset_cgroup_from_root origin:lts-only C error 280 49d 91d 0/3 upstream: reported C repro on 2024/09/04 18:40

Sample crash report:
loop0: detected capacity change from 0 to 2048
UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3631 at kernel/cgroup/cgroup.c:1471 cset_cgroup_from_root+0x214/0x2c0
Modules linked in:
CPU: 1 PID: 3631 Comm: syz-executor329 Not tainted 6.1.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:cset_cgroup_from_root+0x214/0x2c0 kernel/cgroup/cgroup.c:1471
Code: 09 00 eb 98 e8 3d 91 09 00 4d 85 e4 0f 84 b0 00 00 00 e8 2f 91 09 00 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 1c 91 09 00 <0f> 0b e9 57 fe ff ff e8 10 91 09 00 0f 0b e9 ac fe ff ff e8 04 91
RSP: 0018:ffffc900039ef970 EFLAGS: 00010093
RAX: ffffffff81810f84 RBX: 0000000000000000 RCX: ffff888028648000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81810dd5 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffffff8d353e90
R13: dffffc0000000000 R14: ffffffff8d353e80 R15: ffffffff8d355f80
FS:  00005555566ea380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007733a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cgroup_path_ns_locked+0x6c/0xd0 kernel/cgroup/cgroup.c:2358
 proc_cpuset_show+0x2a7/0x430 kernel/cgroup/cpuset.c:4220
 proc_single_show+0xf6/0x180 fs/proc/base.c:777
 seq_read_iter+0x43a/0xd10 fs/seq_file.c:230
 seq_read+0x289/0x380 fs/seq_file.c:162
 vfs_read+0x2ed/0xbf0 fs/read_write.c:468
 ksys_read+0x19c/0x2c0 fs/read_write.c:613
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7eff37385d39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc42c227d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007eff37385d39
RDX: 000000000000941f RSI: 0000000020007100 RDI: 0000000000000004
RBP: 00007ffc42c227e0 R08: 65732f636f72702f R09: 65732f636f72702f
R10: 65732f636f72702f R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc42c22a28 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (139):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/04 19:02 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/18 23:43 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/18 18:30 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/16 23:07 linux-6.1.y 117ac406ba90 e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/16 21:51 linux-6.1.y 117ac406ba90 e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/15 22:34 linux-6.1.y 117ac406ba90 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/15 20:36 linux-6.1.y 117ac406ba90 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/15 16:58 linux-6.1.y 117ac406ba90 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/13 11:52 linux-6.1.y 36790ef5e00b 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/13 09:45 linux-6.1.y 36790ef5e00b 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/11 06:00 linux-6.1.y 48d525b0e463 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/10 13:40 linux-6.1.y 48d525b0e463 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/09 22:25 linux-6.1.y 48d525b0e463 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/09 20:59 linux-6.1.y 48d525b0e463 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/09 01:59 linux-6.1.y 48d525b0e463 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/09 00:47 linux-6.1.y 48d525b0e463 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/08 12:34 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/08 11:12 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/07 22:55 linux-6.1.y 48d525b0e463 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/06 12:12 linux-6.1.y 48d525b0e463 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/05 20:31 linux-6.1.y 48d525b0e463 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/05 00:19 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/05 00:18 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/04 22:53 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/03 09:36 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cset_cgroup_from_root
2024/08/18 16:24 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/18 12:58 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/18 10:47 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/18 09:20 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/16 23:14 linux-6.1.y 117ac406ba90 e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/16 20:23 linux-6.1.y 117ac406ba90 e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/15 18:37 linux-6.1.y 117ac406ba90 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/15 01:32 linux-6.1.y 117ac406ba90 e6b88e20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/11 02:24 linux-6.1.y 48d525b0e463 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/11 02:23 linux-6.1.y 48d525b0e463 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/10 15:56 linux-6.1.y 48d525b0e463 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/09 10:37 linux-6.1.y 48d525b0e463 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/08 12:55 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 21:51 linux-6.1.y 48d525b0e463 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:52 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:48 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:48 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:29 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:27 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:19 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 01:17 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 00:19 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 00:19 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 00:09 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/05 00:08 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/04 15:07 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
2024/08/04 15:02 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cset_cgroup_from_root
* Struck through repros no longer work on HEAD.