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: 15272 Comm: syz-executor Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:986
register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1300
__lock_acquire+0x7f/0xd20 kernel/locking/lockdep.c:5110
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5866
__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+0x46a/0x8d0 fs/ocfs2/super.c:1866
generic_shutdown_super+0x135/0x2c0 fs/super.c:642
kill_block_super+0x44/0x90 fs/super.c:1710
deactivate_locked_super+0xbc/0x130 fs/super.c:473
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1431
task_work_run+0x1d4/0x260 kernel/task_work.c:227
resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218
do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7a0e38fc97
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:00007ffd3607ea08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f7a0e41089d RCX: 00007f7a0e38fc97
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd3607eac0
RBP: 00007ffd3607eac0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd3607fb50
R13: 00007f7a0e41089d R14: 00000000000d90d4 R15: 00007ffd3607fb90
ocfs2: Unmounting device (7,5) on (node local)
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 UID: 0 PID: 15272 Comm: syz-executor Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1222 [inline]
RIP: 0010:ocfs2_evict_inode+0x2d03/0x40e0 fs/ocfs2/inode.c:1234
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 0e ee 87 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 ee ed 87 fe 48 8b 3b 49 81 c7 88
RSP: 0018:ffffc9000b24f340 EFLAGS: 00010212
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88802c913c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b24fa70 R08: ffff888052531437 R09: 1ffff1100a4a6286
R10: dffffc0000000000 R11: ffffed100a4a6287 R12: fffff52001649e78
R13: ffff8880525316e0 R14: dffffc0000000000 R15: ffff8880525316b8
FS: 000055558a5d5500(0000) GS:ffff8881260c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007facc3380178 CR3: 000000003cbfe000 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:1710
deactivate_locked_super+0xbc/0x130 fs/super.c:473
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1431
task_work_run+0x1d4/0x260 kernel/task_work.c:227
resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218
do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7a0e38fc97
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:00007ffd3607ea08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f7a0e41089d RCX: 00007f7a0e38fc97
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd3607eac0
RBP: 00007ffd3607eac0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd3607fb50
R13: 00007f7a0e41089d R14: 00000000000d90d4 R15: 00007ffd3607fb90
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1222 [inline]
RIP: 0010:ocfs2_evict_inode+0x2d03/0x40e0 fs/ocfs2/inode.c:1234
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 0e ee 87 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 ee ed 87 fe 48 8b 3b 49 81 c7 88
RSP: 0018:ffffc9000b24f340 EFLAGS: 00010212
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88802c913c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b24fa70 R08: ffff888052531437 R09: 1ffff1100a4a6286
R10: dffffc0000000000 R11: ffffed100a4a6287 R12: fffff52001649e78
R13: ffff8880525316e0 R14: dffffc0000000000 R15: ffff8880525316b8
FS: 000055558a5d5500(0000) GS:ffff8881260c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007facc3380178 CR3: 000000003cbfe000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 02 00 add (%rax),%al
2: 00 48 89 add %cl,-0x77(%rax)
5: d8 48 c1 fmuls -0x3f(%rax)
8: e8 03 42 80 3c call 0x3c804210
d: 30 00 xor %al,(%rax)
f: 74 08 je 0x19
11: 48 89 df mov %rbx,%rdi
14: e8 0e ee 87 fe call 0xfe87ee27
19: 4d 01 f4 add %r14,%r12
1c: 48 8b 1b mov (%rbx),%rbx
1f: 48 83 c3 08 add $0x8,%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 ee ed 87 fe call 0xfe87ee27
39: 48 8b 3b mov (%rbx),%rdi
3c: 49 rex.WB
3d: 81 .byte 0x81
3e: c7 (bad)
3f: 88 .byte 0x88