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 UID: 0 PID: 7747 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984
register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1299
__lock_acquire+0x99/0xd20 kernel/locking/lockdep.c:5112
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
ocfs2_mark_lockres_freeing+0x125/0x580 fs/ocfs2/dlmglue.c:3513
ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3569 [inline]
ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3577 [inline]
ocfs2_dlm_shutdown+0x3a/0x240 fs/ocfs2/dlmglue.c:3387
ocfs2_dismount_volume+0x63d/0x8d0 fs/ocfs2/super.c:1866
generic_shutdown_super+0x135/0x2c0 fs/super.c:642
kill_block_super+0x44/0x90 fs/super.c:1722
deactivate_locked_super+0xbc/0x130 fs/super.c:473
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1327
task_work_run+0x1d4/0x260 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa62c1901f7
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:00007ffd0cc87308 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fa62c211d7d RCX: 00007fa62c1901f7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd0cc873c0
RBP: 00007ffd0cc873c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd0cc88450
R13: 00007fa62c211d7d R14: 0000000000082dfd R15: 00007ffd0cc88490
ocfs2: Unmounting device (7,4) on (node 0)
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077]
CPU: 0 UID: 0 PID: 7747 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:ocfs2_ci_fully_checkpointed fs/ocfs2/journal.h:98 [inline]
RIP: 0010:ocfs2_checkpoint_inode fs/ocfs2/journal.h:199 [inline]
RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1222 [inline]
RIP: 0010:ocfs2_evict_inode+0x26ae/0x4100 fs/ocfs2/inode.c:1299
Code: ed 03 43 80 7c 25 00 00 74 08 4c 89 ff e8 ea e8 80 fe 4d 8b 27 48 83 c3 70 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 c4 e8 80 fe 48 8b 1b 48 c7 c7 00 f2
RSP: 0018:ffffc900122df340 EFLAGS: 00010212
RAX: 000000000000000e RBX: 0000000000000070 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900122df2c0
RBP: ffffc900122dfa70 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200245be58 R12: 0000000000000000
R13: 1ffff11008817660 R14: 0000000000000000 R15: ffff8880440bb300
FS: 000055558699b500(0000) GS:ffff888125d0c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f85554f40 CR3: 0000000055365000 CR4: 0000000000350ef0
Call Trace:
evict+0x504/0x9c0 fs/inode.c:810
__ocfs2_free_slot_info fs/ocfs2/slot_map.c:307 [inline]
ocfs2_free_slot_info+0x79/0x260 fs/ocfs2/slot_map.c:443
ocfs2_delete_osb+0x58/0x170 fs/ocfs2/super.c:2450
ocfs2_dismount_volume+0x57a/0x8d0 fs/ocfs2/super.c:1884
generic_shutdown_super+0x135/0x2c0 fs/super.c:642
kill_block_super+0x44/0x90 fs/super.c:1722
deactivate_locked_super+0xbc/0x130 fs/super.c:473
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1327
task_work_run+0x1d4/0x260 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa62c1901f7
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:00007ffd0cc87308 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fa62c211d7d RCX: 00007fa62c1901f7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd0cc873c0
RBP: 00007ffd0cc873c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd0cc88450
R13: 00007fa62c211d7d R14: 0000000000082dfd R15: 00007ffd0cc88490
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_ci_fully_checkpointed fs/ocfs2/journal.h:98 [inline]
RIP: 0010:ocfs2_checkpoint_inode fs/ocfs2/journal.h:199 [inline]
RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1222 [inline]
RIP: 0010:ocfs2_evict_inode+0x26ae/0x4100 fs/ocfs2/inode.c:1299
Code: ed 03 43 80 7c 25 00 00 74 08 4c 89 ff e8 ea e8 80 fe 4d 8b 27 48 83 c3 70 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 c4 e8 80 fe 48 8b 1b 48 c7 c7 00 f2
RSP: 0018:ffffc900122df340 EFLAGS: 00010212
RAX: 000000000000000e RBX: 0000000000000070 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900122df2c0
RBP: ffffc900122dfa70 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200245be58 R12: 0000000000000000
R13: 1ffff11008817660 R14: 0000000000000000 R15: ffff8880440bb300
FS: 000055558699b500(0000) GS:ffff888125d0c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f85554f40 CR3: 0000000055365000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: ed in (%dx),%eax
1: 03 43 80 add -0x80(%rbx),%eax
4: 7c 25 jl 0x2b
6: 00 00 add %al,(%rax)
8: 74 08 je 0x12
a: 4c 89 ff mov %r15,%rdi
d: e8 ea e8 80 fe call 0xfe80e8fc
12: 4d 8b 27 mov (%r15),%r12
15: 48 83 c3 70 add $0x70,%rbx
19: 48 89 d8 mov %rbx,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 48 89 df mov %rbx,%rdi
33: e8 c4 e8 80 fe call 0xfe80e8fc
38: 48 8b 1b mov (%rbx),%rbx
3b: 48 rex.W
3c: c7 .byte 0xc7
3d: c7 .byte 0xc7
3e: 00 f2 add %dh,%dl