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. ======================================================= JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. loop0: detected capacity change from 32768 to 0 (syz.0.0,5329,0):__ocfs2_xattr_set_value_outside:1415 ERROR: status = -5 (syz.0.0,5329,0):ocfs2_xa_set:2291 ERROR: status = -5 (syz.0.0,5329,0):ocfs2_extend_trans:457 ERROR: status = -30 (syz.0.0,5329,0):ocfs2_truncate_rec:5454 ERROR: status = -30 (syz.0.0,5329,0):ocfs2_remove_extent:5601 ERROR: status = -30 (syz.0.0,5329,0):__ocfs2_remove_xattr_range:786 ERROR: status = -30 (syz.0.0,5329,0):ocfs2_xattr_shrink_size:840 ERROR: status = -30 (syz.0.0,5329,0):__ocfs2_journal_access:724 ERROR: Error -30 getting 1 access to buffer! (syz.0.0,5329,0):ocfs2_xa_remove:2059 ERROR: status = -30 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5329 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:jbd2_journal_dirty_metadata+0x4a/0xd30 fs/jbd2/transaction.c:1520 Code: 00 fc ff df e8 67 96 27 ff 4c 89 fd 48 c1 ed 03 42 80 7c 35 00 00 74 08 4c 89 ff e8 d0 5f 94 ff 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 b7 5f 94 ff 48 89 1c 24 4c 8b 2b RSP: 0018:ffffc9000e576da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc9000ef9a000 RSI: 0000000000002c99 RDI: 0000000000002c9a RBP: 1ffff110039979ef R08: ffffffff9030ccf7 R09: 1ffffffff206199e R10: dffffc0000000000 R11: fffffbfff206199f R12: dffffc0000000000 R13: 1ffff92001caedd0 R14: dffffc0000000000 R15: ffff88801ccbcf78 FS: 00007fa3199d66c0(0000) GS:ffff88808c885000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000a440 CR3: 00000000129e8000 CR4: 0000000000352ef0 Call Trace: ocfs2_journal_dirty+0x130/0x700 fs/ocfs2/journal.c:831 ocfs2_xa_journal_dirty fs/ocfs2/xattr.c:1483 [inline] ocfs2_xa_set+0x15e3/0x2ec0 fs/ocfs2/xattr.c:2294 ocfs2_xattr_block_set+0x3e0/0x33c0 fs/ocfs2/xattr.c:3016 __ocfs2_xattr_set_handle+0x262/0xf50 fs/ocfs2/xattr.c:-1 ocfs2_xattr_set+0xf3f/0x13e0 fs/ocfs2/xattr.c:3681 __vfs_removexattr+0x431/0x470 fs/xattr.c:536 __vfs_removexattr_locked+0xe2/0x280 fs/xattr.c:571 vfs_removexattr+0x7f/0x230 fs/xattr.c:593 removexattr fs/xattr.c:1028 [inline] filename_removexattr fs/xattr.c:1056 [inline] path_removexattrat+0x3d0/0x750 fs/xattr.c:1089 __do_sys_lremovexattr fs/xattr.c:1107 [inline] __se_sys_lremovexattr fs/xattr.c:1104 [inline] __x64_sys_lremovexattr+0x65/0x80 fs/xattr.c:1104 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa318b9cdd9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa3199d5fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000c6 RAX: ffffffffffffffda RBX: 00007fa318e15fa0 RCX: 00007fa318b9cdd9 RDX: 0000000000000000 RSI: 0000200000000180 RDI: 00002000000000c0 RBP: 00007fa318c32d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa318e16038 R14: 00007fa318e15fa0 R15: 00007ffc140af6e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:jbd2_journal_dirty_metadata+0x4a/0xd30 fs/jbd2/transaction.c:1520 Code: 00 fc ff df e8 67 96 27 ff 4c 89 fd 48 c1 ed 03 42 80 7c 35 00 00 74 08 4c 89 ff e8 d0 5f 94 ff 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 b7 5f 94 ff 48 89 1c 24 4c 8b 2b RSP: 0018:ffffc9000e576da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc9000ef9a000 RSI: 0000000000002c99 RDI: 0000000000002c9a RBP: 1ffff110039979ef R08: ffffffff9030ccf7 R09: 1ffffffff206199e R10: dffffc0000000000 R11: fffffbfff206199f R12: dffffc0000000000 R13: 1ffff92001caedd0 R14: dffffc0000000000 R15: ffff88801ccbcf78 FS: 00007fa3199d66c0(0000) GS:ffff88808c885000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3199b4ff8 CR3: 00000000129e8000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: e8 67 96 27 ff call 0xff27966c 5: 4c 89 fd mov %r15,%rbp 8: 48 c1 ed 03 shr $0x3,%rbp c: 42 80 7c 35 00 00 cmpb $0x0,0x0(%rbp,%r14,1) 12: 74 08 je 0x1c 14: 4c 89 ff mov %r15,%rdi 17: e8 d0 5f 94 ff call 0xff945fec 1c: 49 8b 1f mov (%r15),%rbx 1f: 48 89 d8 mov %rbx,%rax 22: 48 c1 e8 03 shr $0x3,%rax * 26: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2b: 74 08 je 0x35 2d: 48 89 df mov %rbx,%rdi 30: e8 b7 5f 94 ff call 0xff945fec 35: 48 89 1c 24 mov %rbx,(%rsp) 39: 4c 8b 2b mov (%rbx),%r13