syzbot


INFO: trying to register non-static key in ocfs2_dlm_shutdown

Status: upstream: reported on 2024/09/14 00:27
Reported-by: syzbot+de381f477ad12287c368@syzkaller.appspotmail.com
First crash: 31d, last: 9d06h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in ocfs2_dlm_shutdown ocfs2 38 14h31m 27d 0/28 upstream: reported on 2024/09/17 13:24
linux-6.1 INFO: trying to register non-static key in ocfs2_dlm_shutdown 1 3d01h 3d01h 0/3 upstream: reported on 2024/10/12 01:18

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: 3917 Comm: syz-executor Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 assign_lock_key+0x21e/0x230 kernel/locking/lockdep.c:937
 register_lock_class+0x28a/0x9a0 kernel/locking/lockdep.c:1250
 __lock_acquire+0xd7/0x1ff0 kernel/locking/lockdep.c:4891
 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 ocfs2_mark_lockres_freeing+0x15a/0x690 fs/ocfs2/dlmglue.c:3514
 ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3570 [inline]
 ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3578 [inline]
 ocfs2_dlm_shutdown+0x36/0x230 fs/ocfs2/dlmglue.c:3388
 ocfs2_dismount_volume+0x474/0x8b0 fs/ocfs2/super.c:1923
 generic_shutdown_super+0x136/0x2c0 fs/super.c:475
 kill_block_super+0x7a/0xe0 fs/super.c:1425
 deactivate_locked_super+0xa0/0x110 fs/super.c:335
 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
 task_work_run+0x129/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc34dc36327
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe9af63208 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fc34dca7134 RCX: 00007fc34dc36327
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe9af632c0
RBP: 00007ffe9af632c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe9af64340
R13: 00007fc34dca7134 R14: 000000000001fb03 R15: 00007ffe9af64380
 </TASK>
ocfs2: Unmounting device (7,0) on (node local)

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/05 20:03 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/10/05 20:03 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/09/26 05:30 linux-5.15.y 3a5928702e71 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/09/26 05:30 linux-5.15.y 3a5928702e71 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/09/19 07:07 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/09/14 11:07 linux-5.15.y 3a5928702e71 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/09/14 00:26 linux-5.15.y 3a5928702e71 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
* Struck through repros no longer work on HEAD.