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 PID: 9789 Comm: syz-executor Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
assign_lock_key+0x1f9/0x230 kernel/locking/lockdep.c:976
register_lock_class+0x212/0x890 kernel/locking/lockdep.c:1289
__lock_acquire+0x17a/0x7c80 kernel/locking/lockdep.c:5014
lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162
ocfs2_mark_lockres_freeing+0x126/0x570 fs/ocfs2/dlmglue.c:3517
ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3573 [inline]
ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3581 [inline]
ocfs2_dlm_shutdown+0x3a/0x240 fs/ocfs2/dlmglue.c:3391
ocfs2_dismount_volume+0x44b/0x890 fs/ocfs2/super.c:1924
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
deactivate_locked_super+0x97/0x100 fs/super.c:481
cleanup_mnt+0x429/0x4c0 fs/namespace.c:1250
task_work_run+0x1ce/0x250 kernel/task_work.c:239
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb1bbd8ff17
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:00007ffd1a3e8328 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fb1bbe11c05 RCX: 00007fb1bbd8ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd1a3e83e0
RBP: 00007ffd1a3e83e0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd1a3e9470
R13: 00007fb1bbe11c05 R14: 0000000000068fb0 R15: 00007ffd1a3e94b0
ocfs2: Unmounting device (7,0) on (node local)
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 9789 Comm: syz-executor Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline]
RIP: 0010:ocfs2_evict_inode+0x2a4d/0x3e60 fs/ocfs2/inode.c:1220
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 24 da 8a fe 4d 01 ee 48 8b 1b 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 04 da 8a fe 48 8b 3b 49 81 c7 90
RSP: 0018:ffffc900032c7340 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888026349e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900032c7a70 R08: ffff888057099437 R09: 1ffff1100ae13286
R10: dffffc0000000000 R11: ffffed100ae13287 R12: 1ffff1100ae132b4
R13: dffffc0000000000 R14: fffff52000658e78 R15: ffff8880570996b8
FS: 0000555556b4f500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f949062d000 CR3: 0000000067784000 CR4: 00000000003506f0
Call Trace:
evict+0x486/0x870 fs/inode.c:705
__ocfs2_free_slot_info fs/ocfs2/slot_map.c:307 [inline]
ocfs2_free_slot_info+0x79/0x250 fs/ocfs2/slot_map.c:443
ocfs2_delete_osb+0x58/0x170 fs/ocfs2/super.c:2508
ocfs2_dismount_volume+0x55b/0x890 fs/ocfs2/super.c:1942
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
deactivate_locked_super+0x97/0x100 fs/super.c:481
cleanup_mnt+0x429/0x4c0 fs/namespace.c:1250
task_work_run+0x1ce/0x250 kernel/task_work.c:239
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb1bbd8ff17
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:00007ffd1a3e8328 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fb1bbe11c05 RCX: 00007fb1bbd8ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd1a3e83e0
RBP: 00007ffd1a3e83e0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd1a3e9470
R13: 00007fb1bbe11c05 R14: 0000000000068fb0 R15: 00007ffd1a3e94b0
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline]
RIP: 0010:ocfs2_evict_inode+0x2a4d/0x3e60 fs/ocfs2/inode.c:1220
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 24 da 8a fe 4d 01 ee 48 8b 1b 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 04 da 8a fe 48 8b 3b 49 81 c7 90
RSP: 0018:ffffc900032c7340 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888026349e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900032c7a70 R08: ffff888057099437 R09: 1ffff1100ae13286
R10: dffffc0000000000 R11: ffffed100ae13287 R12: 1ffff1100ae132b4
R13: dffffc0000000000 R14: fffff52000658e78 R15: ffff8880570996b8
FS: 0000555556b4f500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe140b83ad8 CR3: 0000000067784000 CR4: 00000000003506e0
----------------
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: 28 00 sub %al,(%rax)
f: 74 08 je 0x19
11: 48 89 df mov %rbx,%rdi
14: e8 24 da 8a fe call 0xfe8ada3d
19: 4d 01 ee add %r13,%r14
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 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 04 da 8a fe call 0xfe8ada3d
39: 48 8b 3b mov (%rbx),%rdi
3c: 49 rex.WB
3d: 81 .byte 0x81
3e: c7 (bad)
3f: 90 nop