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: 7843 Comm: syz-executor Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:119 dump_stack+0x1c/0x28 lib/dump_stack.c:128 assign_lock_key+0x274/0x2a8 kernel/locking/lockdep.c:975 register_lock_class+0x144/0x6ac kernel/locking/lockdep.c:1288 __lock_acquire+0x18c/0x779c kernel/locking/lockdep.c:5019 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5759 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 ocfs2_mark_lockres_freeing+0x164/0x788 fs/ocfs2/dlmglue.c:3516 ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3572 [inline] ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3580 [inline] ocfs2_dlm_shutdown+0x44/0x230 fs/ocfs2/dlmglue.c:3390 ocfs2_dismount_volume+0x3f4/0x920 fs/ocfs2/super.c:1920 ocfs2_put_super+0xec/0x368 fs/ocfs2/super.c:1610 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1696 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ocfs2: Unmounting device (7,0) on (node local) Unable to handle kernel paging request at virtual address dfff800000000001 KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [dfff800000000001] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 7843 Comm: syz-executor Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline] pc : ocfs2_evict_inode+0xd2c/0x468c fs/ocfs2/inode.c:1220 lr : ocfs2_clear_inode fs/ocfs2/inode.c:1199 [inline] lr : ocfs2_evict_inode+0xcb8/0x468c fs/ocfs2/inode.c:1220 sp : ffff8000ac1d7080 x29: ffff8000ac1d77a0 x28: ffff70001583ae24 x27: 1fffe0001de63bc4 x26: ffff0000ef31de20 x25: 1fffe0001de63bc8 x24: ffff8000ac1d7120 x23: ffff0000ef31d580 x22: ffff0000f1a9c000 x21: dfff800000000000 x20: ffff0000f1a9c290 x19: 0000000000000008 x18: 1fffe00036799fe6 x17: ffff80008f50d000 x16: ffff80008301a844 x15: 0000000000000001 x14: 1fffe0001de63b6e x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : ffff0000ef31ddf8 x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff800082000d4c x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008033e510 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline] ocfs2_evict_inode+0xd2c/0x468c fs/ocfs2/inode.c:1220 evict+0x418/0x894 fs/inode.c:704 iput_final fs/inode.c:1838 [inline] iput+0x74c/0x830 fs/inode.c:1864 __ocfs2_free_slot_info fs/ocfs2/slot_map.c:307 [inline] ocfs2_free_slot_info+0x80/0x20c fs/ocfs2/slot_map.c:443 ocfs2_delete_osb+0x64/0x150 fs/ocfs2/super.c:2499 ocfs2_dismount_volume+0x4d0/0x920 fs/ocfs2/super.c:1938 ocfs2_put_super+0xec/0x368 fs/ocfs2/super.c:1610 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1696 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: 97aa157e f9400288 91002113 d343fe68 (38756908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97aa157e bl 0xfffffffffea855f8 4: f9400288 ldr x8, [x20] 8: 91002113 add x19, x8, #0x8 c: d343fe68 lsr x8, x19, #3 * 10: 38756908 ldrb w8, [x8, x21] <-- trapping instruction