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: 5840 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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
rt_spin_lock+0x88/0x2c0 kernel/locking/spinlock_rt.c:56
spin_lock include/linux/spinlock_rt.h:44 [inline]
ocfs2_mark_lockres_freeing+0x13e/0x7a0 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+0x132/0x2c0 fs/super.c:643
kill_block_super+0x44/0x90 fs/super.c:1766
deactivate_locked_super+0xbc/0x130 fs/super.c:474
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1375
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+0xec/0x110 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/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f47a160ff17
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:00007ffddeba5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f47a1691c05 RCX: 00007f47a160ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffddeba5d30
RBP: 00007ffddeba5d30 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffddeba6dc0
R13: 00007f47a1691c05 R14: 000000000004159b R15: 00007ffddeba6e00
ocfs2: Unmounting device (7,0) on (node 0)
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000016: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000000b0-0x00000000000000b7]
CPU: 0 UID: 0 PID: 5840 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x26b1/0x40c0 fs/ocfs2/inode.c:1296
Code: 80 7c 25 00 00 74 08 4c 89 ff e8 5a 87 88 fe 4d 8b 27 48 81 c3 b0 00 00 00 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 31 87 88 fe 48 8b 1b 48 c7 c7 60 40
RSP: 0018:ffffc90004c1f340 EFLAGS: 00010202
RAX: 0000000000000016 RBX: 00000000000000b0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8b620c60 RDI: 00000000ffffffff
RBP: ffffc90004c1fa70 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1e3a8a7 R12: 0000000000000000
R13: 1ffff1100bcfc79a R14: 0000000000000000 R15: ffff88805e7e3cd0
FS: 0000555585277500(0000) GS:ffff8881268c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555852925c8 CR3: 00000000331ea000 CR4: 00000000003526f0
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+0x132/0x2c0 fs/super.c:643
kill_block_super+0x44/0x90 fs/super.c:1766
deactivate_locked_super+0xbc/0x130 fs/super.c:474
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1375
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+0xec/0x110 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/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f47a160ff17
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:00007ffddeba5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f47a1691c05 RCX: 00007f47a160ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffddeba5d30
RBP: 00007ffddeba5d30 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffddeba6dc0
R13: 00007f47a1691c05 R14: 000000000004159b R15: 00007ffddeba6e00
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+0x26b1/0x40c0 fs/ocfs2/inode.c:1296
Code: 80 7c 25 00 00 74 08 4c 89 ff e8 5a 87 88 fe 4d 8b 27 48 81 c3 b0 00 00 00 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 31 87 88 fe 48 8b 1b 48 c7 c7 60 40
RSP: 0018:ffffc90004c1f340 EFLAGS: 00010202
RAX: 0000000000000016 RBX: 00000000000000b0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8b620c60 RDI: 00000000ffffffff
RBP: ffffc90004c1fa70 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1e3a8a7 R12: 0000000000000000
R13: 1ffff1100bcfc79a R14: 0000000000000000 R15: ffff88805e7e3cd0
FS: 0000555585277500(0000) GS:ffff8881268c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555852925c8 CR3: 00000000331ea000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 80 7c 25 00 00 cmpb $0x0,0x0(%rbp,%riz,1)
5: 74 08 je 0xf
7: 4c 89 ff mov %r15,%rdi
a: e8 5a 87 88 fe call 0xfe888769
f: 4d 8b 27 mov (%r15),%r12
12: 48 81 c3 b0 00 00 00 add $0xb0,%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 31 87 88 fe call 0xfe888769
38: 48 8b 1b mov (%rbx),%rbx
3b: 48 rex.W
3c: c7 .byte 0xc7
3d: c7 (bad)
3e: 60 (bad)
3f: 40 rex