loop0: detected capacity change from 0 to 32768 ocfs2: Readonly device (7,0) detected. Cluster services will not be used for this mount. Recovery will be skipped. ocfs2: Mounting device (7,0) on (node local, slot 65535) with ordered data mode. ocfs2: Unmounting device (7,0) on (node local) Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 5355 Comm: syz.0.0 Not tainted 6.17.0-rc1-syzkaller-00224-g8d561baae505 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1284 [inline] RIP: 0010:ocfs2_evict_inode+0x2d05/0x40e0 fs/ocfs2/inode.c:1296 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 dc db 83 fe 4d 01 f4 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 bc db 83 fe 48 8b 3b 49 81 c7 88 RSP: 0018:ffffc9000d466f60 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88801c634880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d467690 R08: ffff888042f7b0b7 R09: 1ffff110085ef616 R10: dffffc0000000000 R11: ffffed10085ef617 R12: fffff52001a8cdfc R13: ffff888042f7b360 R14: dffffc0000000000 R15: ffff888042f7b338 FS: 0000000000000000(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd9a6aaa7c CR3: 000000005142c000 CR4: 0000000000352ef0 Call Trace: evict+0x501/0x9c0 fs/inode.c:810 __ocfs2_free_slot_info fs/ocfs2/slot_map.c:307 [inline] ocfs2_free_slot_info+0x79/0x260 fs/ocfs2/slot_map.c:443 ocfs2_delete_osb+0x58/0x170 fs/ocfs2/super.c:2450 ocfs2_dismount_volume+0x57a/0x8d0 fs/ocfs2/super.c:1884 generic_shutdown_super+0x132/0x2c0 fs/super.c:643 kill_block_super+0x44/0x90 fs/super.c:1766 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1378 task_work_run+0x1d4/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x2300 kernel/exit.c:961 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102 get_signal+0x1286/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fad43f8ebe9 Code: Unable to access opcode bytes at 0x7fad43f8ebbf. RSP: 002b:00007fad44e010e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fad441b5fa8 RCX: 00007fad43f8ebe9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fad441b5fac RBP: 00007fad441b5fa0 R08: 7fffffffffffffff R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007fad441b6038 R14: 00007ffcef78d970 R15: 00007ffcef78da58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_clear_inode fs/ocfs2/inode.c:1284 [inline] RIP: 0010:ocfs2_evict_inode+0x2d05/0x40e0 fs/ocfs2/inode.c:1296 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 dc db 83 fe 4d 01 f4 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 bc db 83 fe 48 8b 3b 49 81 c7 88 RSP: 0018:ffffc9000d466f60 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88801c634880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d467690 R08: ffff888042f7b0b7 R09: 1ffff110085ef616 R10: dffffc0000000000 R11: ffffed10085ef617 R12: fffff52001a8cdfc R13: ffff888042f7b360 R14: dffffc0000000000 R15: ffff888042f7b338 FS: 0000000000000000(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005606aee39670 CR3: 000000005142c000 CR4: 0000000000352ef0 ---------------- 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 dc db 83 fe call 0xfe83dbf5 19: 4d 01 f4 add %r14,%r12 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 bc db 83 fe call 0xfe83dbf5 39: 48 8b 3b mov (%rbx),%rdi 3c: 49 rex.WB 3d: 81 .byte 0x81 3e: c7 (bad) 3f: 88 .byte 0x88