ocfs2: Readonly device (7,9) detected. Cluster services will not be used for this mount. Recovery will be skipped. ocfs2: Mounting device (7,9) on (node local, slot 65535) with ordered data mode. 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: 9737 Comm: syz.9.838 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __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+0x130/0x310 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1427 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:0x7effcbac5faa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007effc9939e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007effc9939f10 RCX: 00007effcbac5faa RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 00007effc9939ed0 RBP: 0000000020000080 R08: 00007effc9939f10 R09: 0000000002a00403 R10: 0000000002a00403 R11: 0000000000000246 R12: 00000000200000c0 R13: 00007effc9939ed0 R14: 0000000000004478 R15: 00000000200003c0 ocfs2: Unmounting device (7,9) on (node local)