syzbot


linux-next test error: BUG: key ADDR has not been registered!

Status: upstream: reported on 2024/06/18 09:36
Subsystems: kernfs
[Documentation on labels]
Reported-by: syzbot+b2c37bfe1276a38db24f@syzkaller.appspotmail.com
First crash: 8d14h, last: 7d07h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernfs?] linux-next test error: BUG: key ADDR has not been registered! 0 (1) 2024/06/18 09:36

Sample crash report:
cgroup: Unknown subsys name 'net'
BUG: key ffff88801b2f00d8 has not been registered!
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 5089 at kernel/locking/lockdep.c:4945 lockdep_init_map_type+0x4e3/0x910 kernel/locking/lockdep.c:4945
Modules linked in:
CPU: 0 UID: 0 PID: 5089 Comm: syz-executor Not tainted 6.10.0-rc4-next-20240618-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:lockdep_init_map_type+0x4e3/0x910 kernel/locking/lockdep.c:4945
Code: 00 00 83 3d fe e2 3f 0e 00 75 23 90 48 c7 c7 c0 bf ca 8b 48 c7 c6 60 c2 ca 8b e8 08 12 e6 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 e9 0d ff ff ff 48 c7 c7 00 c2 ca 8b 4c 89 fe e8 b4
RSP: 0018:ffffc900035ef560 EFLAGS: 00010246
RAX: a24f385d4ae99000 RBX: ffff88802c7f43ea RCX: ffff88807a70da00
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900035ef630 R08: ffffffff81552402 R09: fffffbfff1c39afc
R10: dffffc0000000000 R11: fffffbfff1c39afc R12: ffff88802c7f43c8
R13: 1ffff920006bdeb0 R14: 0000000000000000 R15: ffff88801b2f00d8
FS:  0000555558639480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056386ccd2918 CR3: 000000007e8c6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lockdep_init_map_waits include/linux/lockdep.h:135 [inline]
 lockdep_init_map_wait include/linux/lockdep.h:142 [inline]
 lockdep_init_map include/linux/lockdep.h:148 [inline]
 __kernfs_create_file+0x112/0x2e0 fs/kernfs/file.c:1046
 cgroup_add_file kernel/cgroup/cgroup.c:4216 [inline]
 cgroup_addrm_files+0xab8/0xe50 kernel/cgroup/cgroup.c:4270
 css_populate_dir+0x120/0x3b0 kernel/cgroup/cgroup.c:1761
 cgroup_apply_control_enable+0x621/0xaf0 kernel/cgroup/cgroup.c:3240
 cgroup_apply_control+0x97/0x800 kernel/cgroup/cgroup.c:3314
 rebind_subsystems+0x10a0/0x1500 kernel/cgroup/cgroup.c:1882
 cgroup_setup_root+0x3d3/0xb30 kernel/cgroup/cgroup.c:2132
 cgroup1_root_to_use kernel/cgroup/cgroup-v1.c:1224 [inline]
 cgroup1_get_tree+0x582/0x8c0 kernel/cgroup/cgroup-v1.c:1244
 vfs_get_tree+0x90/0x2a0 fs/super.c:1789
 do_new_mount+0x2be/0xb40 fs/namespace.c:3379
 do_mount fs/namespace.c:3719 [inline]
 __do_sys_mount fs/namespace.c:3925 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3902
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9852e7e62a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffc8cfe8b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fffc8cfea70 RCX: 00007f9852e7e62a
RDX: 00007f9852ee51a6 RSI: 00007f9852edaa7e RDI: 00007f9852ed99b9
RBP: 00007f9852edaa7e R08: 00007f9852edac2a R09: 006f6972705f7465
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9852ed99b9
R13: 00007f9852ee51a6 R14: 00007fffc8cfea88 R15: 00007fffc8cfe8c0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/19 09:36 linux-next 0c52056d9f77 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: BUG: key ADDR has not been registered!
2024/06/18 21:32 linux-next 0c52056d9f77 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: BUG: key ADDR has not been registered!
2024/06/18 15:06 linux-next 76db4c64526c 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: BUG: key ADDR has not been registered!
2024/06/18 02:43 linux-next 76db4c64526c 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: BUG: key ADDR has not been registered!
* Struck through repros no longer work on HEAD.