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 PID: 4754 Comm: syz-executor Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 assign_lock_key+0x274/0x2a8 kernel/locking/lockdep.c:974 register_lock_class+0x148/0x6a8 kernel/locking/lockdep.c:1287 __lock_acquire+0x184/0x7680 kernel/locking/lockdep.c:4928 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 ocfs2_mark_lockres_freeing+0x164/0x788 fs/ocfs2/dlmglue.c:3514 ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3570 [inline] ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3578 [inline] ocfs2_dlm_shutdown+0x44/0x230 fs/ocfs2/dlmglue.c:3388 ocfs2_dismount_volume+0x404/0x99c fs/ocfs2/super.c:1920 ocfs2_put_super+0x110/0x3e8 fs/ocfs2/super.c:1609 generic_shutdown_super+0x130/0x328 fs/super.c:501 kill_block_super+0x70/0xdc fs/super.c:1470 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 ocfs2: Unmounting device (7,5) 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 = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000001] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4754 Comm: syz-executor Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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+0xd7c/0x497c fs/ocfs2/inode.c:1220 lr : ocfs2_clear_inode fs/ocfs2/inode.c:1199 [inline] lr : ocfs2_evict_inode+0xd08/0x497c fs/ocfs2/inode.c:1220 sp : ffff800021716da0 x29: ffff8000217174c0 x28: ffff7000042e2dc8 x27: 1fffe0001c6eb834 x26: ffff0000e375c1a0 x25: 1fffe0001c6eb838 x24: ffff800021716e40 x23: ffff0000e375b900 x22: ffff0000d8e60000 x21: dfff800000000000 x20: ffff0000d8e60290 x19: 0000000000000008 x18: 1fffe0003679ed76 x17: ffff8000159dd000 x16: ffff8000122986bc x15: ffff800008adb678 x14: ffff800008a4f060 x13: ffff800008a4eef8 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff0000e375c178 x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff800009ede058 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082fe5c0 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline] ocfs2_evict_inode+0xd7c/0x497c fs/ocfs2/inode.c:1220 evict+0x418/0x894 fs/inode.c:701 iput_final fs/inode.c:1830 [inline] iput+0x7c0/0x8a4 fs/inode.c:1856 __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+0x4e0/0x99c fs/ocfs2/super.c:1938 ocfs2_put_super+0x110/0x3e8 fs/ocfs2/super.c:1609 generic_shutdown_super+0x130/0x328 fs/super.c:501 kill_block_super+0x70/0xdc fs/super.c:1470 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: 97aa6ce9 f9400288 91002113 d343fe68 (38756908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97aa6ce9 bl 0xfffffffffea9b3a4 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