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: 4304 Comm: syz-executor Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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/0x5c 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:3515 ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3571 [inline] ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3579 [inline] ocfs2_dlm_shutdown+0x44/0x230 fs/ocfs2/dlmglue.c:3389 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+0x2080/0x2cb8 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,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 = 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: 4304 Comm: syz-executor Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 : ffff800021176de0 x29: ffff800021177500 x28: ffff70000422edd0 x27: 1fffe0001dc519fc x26: ffff0000ee28cfe0 x25: 1fffe0001dc51a00 x24: ffff800021176e80 x23: ffff0000ee28c740 x22: ffff0000c9dc4000 x21: dfff800000000000 x20: ffff0000c9dc4290 x19: 0000000000000008 x18: 1fffe0003679bf76 x17: ffff800015a8d000 x16: ffff8000123313e4 x15: ffff800008ad7878 x14: ffff800008a4b1ac x13: ffff800008a4b044 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff0000ee28cfb8 x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff800009f687c8 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082f9d60 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:705 iput_final fs/inode.c:1834 [inline] iput+0x7c0/0x8a4 fs/inode.c:1860 __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:2504 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+0x2080/0x2cb8 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: 97a8335c f9400288 91002113 d343fe68 (38756908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97a8335c bl 0xfffffffffea0cd70 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