syzbot


INFO: trying to register non-static key in debugfs_file_get

Status: fixed on 2024/01/23 12:02
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+fb20af23d0671a82c9a2@syzkaller.appspotmail.com
Fix commit: 88ac06a9f938 Revert "debugfs: annotate debugfs handlers vs. removal with lockdep"
First crash: 315d, last: 292d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [fs?] INFO: trying to register non-static key in debugfs_file_get 1 (2) 2023/12/21 13:52

Sample crash report:
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 PID: 5078 Comm: syz-executor.0 Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 assign_lock_key+0x234/0x270 kernel/locking/lockdep.c:976
 register_lock_class+0x1cf/0x970 kernel/locking/lockdep.c:1289
 __lock_acquire+0xd9/0x1fd0 kernel/locking/lockdep.c:5014
 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754
 debugfs_file_get+0x545/0x6d0 fs/debugfs/file.c:135
 open_proxy_open+0x56/0x490 fs/debugfs/file.c:269
 do_dentry_open+0x8ff/0x1590 fs/open.c:948
 do_open fs/namei.c:3622 [inline]
 path_openat+0x2849/0x3290 fs/namei.c:3779
 do_filp_open+0x234/0x490 fs/namei.c:3809
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440
 do_sys_open fs/open.c:1455 [inline]
 __do_sys_openat fs/open.c:1471 [inline]
 __se_sys_openat fs/open.c:1466 [inline]
 __x64_sys_openat+0x247/0x290 fs/open.c:1466
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f8cf7a7b721
Code: 75 57 89 f0 25 00 00 41 00 3d 00 00 41 00 74 49 80 3d ea 17 10 00 00 74 6d 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 93 00 00 00 48 8b 54 24 28 64 48 2b 14 25
RSP: 002b:00007ffe0eccf310 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f8cf7a7b721
RDX: 0000000000000002 RSI: 00007f8cf7ac7551 RDI: 00000000ffffff9c
RBP: 00007f8cf7ac7551 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe0eccfa68
R13: 0000000000000003 R14: 00007f8cf7b9c018 R15: 0000000000000000
 </TASK>

Crashes (289):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/10 05:31 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: trying to register non-static key in debugfs_file_get
2023/12/09 18:54 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: trying to register non-static key in debugfs_file_get
2023/12/09 15:48 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: trying to register non-static key in debugfs_file_get
2023/12/09 13:37 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: trying to register non-static key in debugfs_file_get
2023/12/09 11:13 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in debugfs_file_get
2023/12/09 05:11 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in debugfs_file_get
2023/12/09 00:19 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in debugfs_file_get
2023/12/08 22:24 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: trying to register non-static key in debugfs_file_get
2023/12/08 18:39 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in debugfs_file_get
2023/12/08 08:32 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: trying to register non-static key in debugfs_file_get
2023/12/08 03:26 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in debugfs_file_get
2023/12/08 00:32 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in debugfs_file_get
2023/12/02 13:42 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: trying to register non-static key in debugfs_file_get
2023/12/07 22:20 upstream bee0e7762ad2 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/09 10:10 upstream f2e8a57ee903 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream INFO: trying to register non-static key in debugfs_file_get
2023/12/07 23:24 upstream 9ace34a8e446 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream INFO: trying to register non-static key in debugfs_file_get
2023/12/10 06:38 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/10 05:38 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/10 04:15 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/10 01:20 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/09 22:47 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/09 12:24 upstream f2e8a57ee903 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/09 07:07 upstream f2e8a57ee903 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/09 02:41 upstream f2e8a57ee903 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 20:17 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 16:16 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 12:59 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 11:49 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 09:40 upstream 9ace34a8e446 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 06:05 upstream 9ace34a8e446 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/07 17:09 upstream bee0e7762ad2 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/07 14:37 upstream bee0e7762ad2 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 INFO: trying to register non-static key in debugfs_file_get
2023/12/21 08:55 bpf 117211aa739a 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/20 03:56 bpf 117211aa739a 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/20 00:41 bpf 117211aa739a 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/19 08:20 bpf 117211aa739a 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/17 22:54 bpf 117211aa739a 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/13 12:29 net 65c95f78917e ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/12 15:04 bpf e307b5a845c5 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/12 13:20 net 24e90b9e34f9 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/12 00:50 bpf e307b5a845c5 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/10 18:42 net 69db702c8387 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/09 20:57 bpf bd4a816752ba 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/09 08:55 bpf bd4a816752ba 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/07 20:04 bpf 1499b89289bf 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/19 09:57 bpf-next 8e432e6197ce 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/14 12:06 bpf-next c838fe1282df 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/14 01:30 bpf-next 62d9a969f4a9 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/13 16:35 bpf-next e1ba7f64b192 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/13 16:00 bpf-next e1ba7f64b192 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/13 09:29 bpf-next e1ba7f64b192 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/12 22:32 net-next 26c79ec96e77 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/11 19:01 bpf-next 2ebe81c81435 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/11 15:30 bpf-next 5bcbdf72df88 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/11 04:37 bpf-next 5bcbdf72df88 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/08 23:08 bpf-next 8b7b0e5fe47d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in debugfs_file_get
2023/12/02 07:34 linux-next 5eda217cee88 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in debugfs_file_get
2023/11/28 19:37 linux-next 8c87404c76c1 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in debugfs_file_get
2023/12/11 11:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: trying to register non-static key in debugfs_file_get
2023/12/10 23:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: trying to register non-static key in debugfs_file_get
2023/12/10 17:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: trying to register non-static key in debugfs_file_get
2023/12/10 10:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: trying to register non-static key in debugfs_file_get
2023/12/09 13:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: trying to register non-static key in debugfs_file_get
2023/12/08 01:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: trying to register non-static key in debugfs_file_get
* Struck through repros no longer work on HEAD.