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: 7d02h, last: 1d20h
Similar bugs (1)
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 17 1d16h 3d13h 0/28 upstream: reported on 2024/09/17 13:24

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: 1 PID: 13179 Comm: syz-executor Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:0x7fe622999227
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:00007fffaf84c058 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fe622a0aa14 RCX: 00007fe622999227
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffaf84c110
RBP: 00007fffaf84c110 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffaf84d190
R13: 00007fe622a0aa14 R14: 00000000000dd5ab R15: 00007fffaf84d1d0
 </TASK>
ocfs2: Unmounting device (7,2) on (node local)

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.