loop2: detected capacity change from 0 to 32768 ocfs2: Readonly device (7,2) detected. Cluster services will not be used for this mount. Recovery will be skipped. ocfs2: Mounting device (7,2) on (node local, slot 65535) with writeback data mode. (syz.2.666,9326,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: 9326 Comm: syz.2.666 Not tainted 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:0x7f4e45f900ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4e46ebbe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007f4e46ebbef0 RCX: 00007f4e45f900ca RDX: 0000200000000040 RSI: 00002000000044c0 RDI: 00007f4e46ebbeb0 RBP: 0000200000000040 R08: 00007f4e46ebbef0 R09: 0000000000800401 R10: 0000000000800401 R11: 0000000000000246 R12: 00002000000044c0 R13: 00007f4e46ebbeb0 R14: 0000000000004472 R15: 00002000000006c0 ocfs2: Unmounting device (7,2) 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: 1 PID: 9326 Comm: syz.2.666 Not tainted 6.6.95-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+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 54 09 8b 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 34 09 8b fe 48 8b 3b 49 81 c7 90 RSP: 0018:ffffc900037c7340 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000080000 RDX: ffffc9000d17c000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900037c7a70 R08: ffff88807a2d1437 R09: 1ffff1100f45a286 R10: dffffc0000000000 R11: ffffed100f45a287 R12: 1ffff1100f45a2b4 R13: dffffc0000000000 R14: fffff520006f8e78 R15: ffff88807a2d16b8 FS: 00007f4e46ebc6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f595682ff98 CR3: 0000000030cf0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:0x7f4e45f900ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4e46ebbe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007f4e46ebbef0 RCX: 00007f4e45f900ca RDX: 0000200000000040 RSI: 00002000000044c0 RDI: 00007f4e46ebbeb0 RBP: 0000200000000040 R08: 00007f4e46ebbef0 R09: 0000000000800401 R10: 0000000000800401 R11: 0000000000000246 R12: 00002000000044c0 R13: 00007f4e46ebbeb0 R14: 0000000000004472 R15: 00002000000006c0 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 54 09 8b 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 34 09 8b fe 48 8b 3b 49 81 c7 90 RSP: 0018:ffffc900037c7340 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000080000 RDX: ffffc9000d17c000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900037c7a70 R08: ffff88807a2d1437 R09: 1ffff1100f45a286 R10: dffffc0000000000 R11: ffffed100f45a287 R12: 1ffff1100f45a2b4 R13: dffffc0000000000 R14: fffff520006f8e78 R15: ffff88807a2d16b8 FS: 00007f4e46ebc6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f595682ff98 CR3: 0000000030cf0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 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: 28 00 sub %al,(%rax) f: 74 08 je 0x19 11: 48 89 df mov %rbx,%rdi 14: e8 54 09 8b fe call 0xfe8b096d 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 34 09 8b fe call 0xfe8b096d 39: 48 8b 3b mov (%rbx),%rdi 3c: 49 rex.WB 3d: 81 .byte 0x81 3e: c7 (bad) 3f: 90 nop