loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. loop0: detected capacity change from 32768 to 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5108 Comm: syz.0.0 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:53 [inline] should_fail_ex+0x3b0/0x4e0 lib/fault-inject.c:154 should_failslab+0xac/0x100 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4038 [inline] slab_alloc_node mm/slub.c:4114 [inline] __kmalloc_cache_noprof+0x6c/0x2c0 mm/slub.c:4290 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] ocfs2_cache_cluster_dealloc+0xaa/0x410 fs/ocfs2/alloc.c:6470 __ocfs2_remove_xattr_range fs/ocfs2/xattr.c:795 [inline] ocfs2_xattr_shrink_size fs/ocfs2/xattr.c:832 [inline] ocfs2_xattr_value_truncate+0x103d/0x1970 fs/ocfs2/xattr.c:868 ocfs2_xa_value_truncate fs/ocfs2/xattr.c:1915 [inline] ocfs2_xa_remove fs/ocfs2/xattr.c:2026 [inline] ocfs2_xa_set+0xb39/0x2b40 fs/ocfs2/xattr.c:2248 ocfs2_xattr_block_set+0x46e/0x3390 fs/ocfs2/xattr.c:2986 __ocfs2_xattr_set_handle+0x28c/0x10a0 ocfs2_xattr_set+0x128c/0x1930 fs/ocfs2/xattr.c:3651 __vfs_removexattr+0x42a/0x460 fs/xattr.c:518 __vfs_removexattr_locked+0x206/0x450 fs/xattr.c:553 vfs_removexattr+0x103/0x2b0 fs/xattr.c:575 removexattr fs/xattr.c:907 [inline] path_removexattr+0x284/0x3a0 fs/xattr.c:928 __do_sys_lremovexattr fs/xattr.c:948 [inline] __se_sys_lremovexattr fs/xattr.c:945 [inline] __x64_sys_lremovexattr+0x5d/0x70 fs/xattr.c:945 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7effb737dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007effb80e0038 EFLAGS: 00000246 ORIG_RAX: 00000000000000c6 RAX: ffffffffffffffda RBX: 00007effb7535f80 RCX: 00007effb737dff9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000240 RBP: 00007effb80e0090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007effb7535f80 R15: 00007fffe83357d8 (syz.0.0,5108,0):ocfs2_cache_cluster_dealloc:6473 ERROR: status = -12 (syz.0.0,5108,0):__ocfs2_remove_xattr_range:798 ERROR: status = -12 (syz.0.0,5108,0):ocfs2_xattr_shrink_size:836 ERROR: status = -12 (syz.0.0,5108,0):__ocfs2_journal_access:705 ERROR: Error -30 getting 1 access to buffer! (syz.0.0,5108,0):ocfs2_xa_remove:2028 ERROR: status = -12 (syz.0.0,5108,0):ocfs2_xa_cleanup_value_truncate:1999 ERROR: Partial truncate while removing xattr overlay.upper. Leaking 1 clusters and removing the entry Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5108 Comm: syz.0.0 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 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_xa_block_wipe_namevalue+0x91/0x550 fs/ocfs2/xattr.c:1637 Code: f8 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df 0f b6 04 18 84 c0 0f 85 f7 03 00 00 45 0f b7 27 49 8d 7d 04 48 89 f8 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 f9 03 00 00 41 0f b7 45 04 89 44 24 04 49 RSP: 0018:ffffc9000b27ebf0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000004 RBP: ffffc9000b27f418 R08: ffffffff83a08052 R09: 0000000000000000 R10: ffff88804df873c0 R11: ffffffff83a0a5e0 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc9000b27f410 R15: ffff88804df87230 FS: 00007effb80e06c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002024 CR3: 000000003df12000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_xa_wipe_namevalue fs/ocfs2/xattr.c:1470 [inline] ocfs2_xa_remove_entry fs/ocfs2/xattr.c:1941 [inline] ocfs2_xa_remove fs/ocfs2/xattr.c:2044 [inline] ocfs2_xa_set+0x1120/0x2b40 fs/ocfs2/xattr.c:2248 ocfs2_xattr_block_set+0x46e/0x3390 fs/ocfs2/xattr.c:2986 __ocfs2_xattr_set_handle+0x28c/0x10a0 ocfs2_xattr_set+0x128c/0x1930 fs/ocfs2/xattr.c:3651 __vfs_removexattr+0x42a/0x460 fs/xattr.c:518 __vfs_removexattr_locked+0x206/0x450 fs/xattr.c:553 vfs_removexattr+0x103/0x2b0 fs/xattr.c:575 removexattr fs/xattr.c:907 [inline] path_removexattr+0x284/0x3a0 fs/xattr.c:928 __do_sys_lremovexattr fs/xattr.c:948 [inline] __se_sys_lremovexattr fs/xattr.c:945 [inline] __x64_sys_lremovexattr+0x5d/0x70 fs/xattr.c:945 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7effb737dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007effb80e0038 EFLAGS: 00000246 ORIG_RAX: 00000000000000c6 RAX: ffffffffffffffda RBX: 00007effb7535f80 RCX: 00007effb737dff9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000240 RBP: 00007effb80e0090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007effb7535f80 R15: 00007fffe83357d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_xa_block_wipe_namevalue+0x91/0x550 fs/ocfs2/xattr.c:1637 Code: f8 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df 0f b6 04 18 84 c0 0f 85 f7 03 00 00 45 0f b7 27 49 8d 7d 04 48 89 f8 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 f9 03 00 00 41 0f b7 45 04 89 44 24 04 49 RSP: 0018:ffffc9000b27ebf0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000004 RBP: ffffc9000b27f418 R08: ffffffff83a08052 R09: 0000000000000000 R10: ffff88804df873c0 R11: ffffffff83a0a5e0 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc9000b27f410 R15: ffff88804df87230 FS: 00007effb80e06c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007effb80bf9a0 CR3: 000000003df12000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f8 clc 1: 48 c1 e8 03 shr $0x3,%rax 5: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx c: fc ff df f: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax 13: 84 c0 test %al,%al 15: 0f 85 f7 03 00 00 jne 0x412 1b: 45 0f b7 27 movzwl (%r15),%r12d 1f: 49 8d 7d 04 lea 0x4(%r13),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 f9 03 00 00 jne 0x42f 36: 41 0f b7 45 04 movzwl 0x4(%r13),%eax 3b: 89 44 24 04 mov %eax,0x4(%rsp) 3f: 49 rex.WB