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: 5832 Comm: syz-executor Not tainted 6.16.0-rc5-syzkaller-00193-g40f92e79b0aa-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 assign_lock_key+0x133/0x150
 register_lock_class+0x105/0x320
 __lock_acquire+0x99/0xd20
 lock_acquire+0x120/0x360
 _raw_spin_lock_irqsave+0xa7/0xf0
 ocfs2_mark_lockres_freeing+0x125/0x580
 ocfs2_dlm_shutdown+0x3a/0x240
 ocfs2_dismount_volume+0x46a/0x8d0
 generic_shutdown_super+0x135/0x2c0
 kill_block_super+0x44/0x90
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x425/0x4c0
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa54778fc57
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:00007fffa9dfbeb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fa547810925 RCX: 00007fa54778fc57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffa9dfbf70
RBP: 00007fffa9dfbf70 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffa9dfd000
R13: 00007fa547810925 R14: 0000000000033700 R15: 00007fffa9dfd040
 </TASK>
ocfs2: Unmounting device (7,2) on (node local)
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 UID: 0 PID: 5832 Comm: syz-executor Not tainted 6.16.0-rc5-syzkaller-00193-g40f92e79b0aa-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:ocfs2_evict_inode+0x2d05/0x40e0
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 4c 3f 85 fe 4d 01 f4 48 8b 1b 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 2c 3f 85 fe 48 8b 3b 49 81 c7 88
RSP: 0018:ffffc90003b0f340 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888107dad640
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b0fa70 R08: ffff8881156305f7 R09: 1ffff11022ac60be
R10: dffffc0000000000 R11: ffffed1022ac60bf R12: fffff52000761e78
R13: ffff8881156308a0 R14: dffffc0000000000 R15: ffff888115630878
FS:  0000555566dc6500(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f180811530 CR3: 000000001e90a000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 evict+0x504/0x9c0
 ocfs2_free_slot_info+0x79/0x260
 ocfs2_delete_osb+0x58/0x170
 ocfs2_dismount_volume+0x57a/0x8d0
 generic_shutdown_super+0x135/0x2c0
 kill_block_super+0x44/0x90
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x425/0x4c0
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa54778fc57
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:00007fffa9dfbeb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fa547810925 RCX: 00007fa54778fc57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffa9dfbf70
RBP: 00007fffa9dfbf70 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffa9dfd000
R13: 00007fa547810925 R14: 0000000000033700 R15: 00007fffa9dfd040
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_evict_inode+0x2d05/0x40e0
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 4c 3f 85 fe 4d 01 f4 48 8b 1b 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 2c 3f 85 fe 48 8b 3b 49 81 c7 88
RSP: 0018:ffffc90003b0f340 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888107dad640
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b0fa70 R08: ffff8881156305f7 R09: 1ffff11022ac60be
R10: dffffc0000000000 R11: ffffed1022ac60bf R12: fffff52000761e78
R13: ffff8881156308a0 R14: dffffc0000000000 R15: ffff888115630878
FS:  0000555566dc6500(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f712a17f2d8 CR3: 000000001e90a000 CR4: 00000000000006f0
