(syz-executor,7223,0):ocfs2_inode_is_valid_to_delete:872 ERROR: Skipping delete of system file 22 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: 7223 Comm: syz-executor Not tainted 6.1.144-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 assign_lock_key+0x1f5/0x230 kernel/locking/lockdep.c:974 register_lock_class+0x20e/0x860 kernel/locking/lockdep.c:1287 __lock_acquire+0x160/0x7c50 kernel/locking/lockdep.c:4928 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 ocfs2_mark_lockres_freeing+0x122/0x570 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+0x36/0x240 fs/ocfs2/dlmglue.c:3389 ocfs2_dismount_volume+0x46a/0x930 fs/ocfs2/super.c:1923 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182 task_work_run+0x1ca/0x250 kernel/task_work.c:203 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:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f19d298fc57 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:00007ffe0d458428 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f19d2a10925 RCX: 00007f19d298fc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe0d4584e0 RBP: 00007ffe0d4584e0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe0d459570 R13: 00007f19d2a10925 R14: 000000000007532c R15: 00007ffe0d4595b0 ocfs2: Unmounting device (7,8) 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: 7223 Comm: syz-executor Not tainted 6.1.144-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline] RIP: 0010:ocfs2_evict_inode+0x2b16/0x41e0 fs/ocfs2/inode.c:1220 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 1b f7 92 fe 4d 01 f7 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 fb f6 92 fe 48 8b 3b 49 81 c5 90 RSP: 0018:ffffc90003717340 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8880187abb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003717a70 R08: dffffc0000000000 R09: ffffed100e011d37 R10: ffffed100e011d37 R11: 1ffff1100e011d36 R12: 1ffff1100e011d64 R13: ffff88807008ec38 R14: dffffc0000000000 R15: fffff520006e2e78 FS: 000055557618b500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c31fffc CR3: 00000000262fb000 CR4: 00000000003506f0 Call Trace: evict+0x485/0x870 fs/inode.c:705 __ocfs2_free_slot_info fs/ocfs2/slot_map.c:307 [inline] ocfs2_free_slot_info+0x75/0x250 fs/ocfs2/slot_map.c:443 ocfs2_delete_osb+0x58/0x180 fs/ocfs2/super.c:2507 ocfs2_dismount_volume+0x57c/0x930 fs/ocfs2/super.c:1941 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182 task_work_run+0x1ca/0x250 kernel/task_work.c:203 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:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f19d298fc57 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:00007ffe0d458428 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f19d2a10925 RCX: 00007f19d298fc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe0d4584e0 RBP: 00007ffe0d4584e0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe0d459570 R13: 00007f19d2a10925 R14: 000000000007532c R15: 00007ffe0d4595b0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline] RIP: 0010:ocfs2_evict_inode+0x2b16/0x41e0 fs/ocfs2/inode.c:1220 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 1b f7 92 fe 4d 01 f7 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 fb f6 92 fe 48 8b 3b 49 81 c5 90 RSP: 0018:ffffc90003717340 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8880187abb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003717a70 R08: dffffc0000000000 R09: ffffed100e011d37 R10: ffffed100e011d37 R11: 1ffff1100e011d36 R12: 1ffff1100e011d64 R13: ffff88807008ec38 R14: dffffc0000000000 R15: fffff520006e2e78 FS: 000055557618b500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e8b61a000 CR3: 00000000262fb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 1b f7 92 fe call 0xfe92f734 19: 4d 01 f7 add %r14,%r15 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 fb f6 92 fe call 0xfe92f734 39: 48 8b 3b mov (%rbx),%rdi 3c: 49 rex.WB 3d: 81 .byte 0x81 3e: c5 .byte 0xc5 3f: 90 nop