loop0: detected capacity change from 0 to 32768 ocfs2: Readonly device (7,0) detected. Cluster services will not be used for this mount. Recovery will be skipped. ocfs2: Mounting device (7,0) on (node local, slot 65535) with ordered data mode. loop0: detected capacity change from 32768 to 0 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 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:1028 register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1343 __lock_acquire+0x10c/0x2de0 kernel/locking/lockdep.c:5162 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:155 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:181 ocfs2_mark_lockres_freeing+0x164/0x840 fs/ocfs2/dlmglue.c:3530 ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3586 [inline] ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3594 [inline] ocfs2_dlm_shutdown+0x37/0x240 fs/ocfs2/dlmglue.c:3404 ocfs2_dismount_volume+0x414/0x820 fs/ocfs2/super.c:1865 generic_shutdown_super+0x13d/0x2d0 fs/super.c:769 kill_block_super+0x44/0xa0 fs/super.c:1918 deactivate_locked_super+0xbc/0x110 fs/super.c:603 cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:336 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff01459e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff0154cafe8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ff014825fa0 RCX: 00007ff01459e159 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007ff01463503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff014826038 R14: 00007ff014825fa0 R15: 00007fffed2c2358 ocfs2: Unmounting device (7,0) on (node local)