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,5337,0):__ocfs2_xattr_set_value_outside:1415 ERROR: status = -5 (syz.0.0,5337,0):ocfs2_xa_set:2290 ERROR: status = -5 (syz.0.0,5337,0):ocfs2_extend_trans:460 ERROR: status = -30 (syz.0.0,5337,0):ocfs2_truncate_rec:5445 ERROR: status = -30 (syz.0.0,5337,0):ocfs2_remove_extent:5592 ERROR: status = -30 (syz.0.0,5337,0):__ocfs2_remove_xattr_range:786 ERROR: status = -30 (syz.0.0,5337,0):ocfs2_xattr_shrink_size:840 ERROR: status = -30 (syz.0.0,5337,0):__ocfs2_journal_access:727 ERROR: Error -30 getting 1 access to buffer! (syz.0.0,5337,0):ocfs2_xa_prepare_entry:2181 ERROR: status = -30 (syz.0.0,5337,0):ocfs2_xa_set:2284 ERROR: status = -30 JBD2: assertion failure: h_type=0 h_line_no=0 block_no=19106 jlist=0 ------------[ cut here ]------------ kernel BUG at fs/jbd2/transaction.c:1535! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5337 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~bpo12+1 04/01/2014 RIP: 0010:jbd2_journal_dirty_metadata+0xbe1/0xc30 fs/jbd2/transaction.c:1534 Code: 98 ff e9 6f fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c af fc ff ff 48 89 df e8 3a a5 98 ff e9 a2 fc ff ff e8 80 fa 30 ff 90 <0f> 0b e8 78 fa 30 ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000caf6ab8 EFLAGS: 00010287 RAX: ffffffff82900aa0 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc90020ec2000 RSI: 0000000000003847 RDI: 0000000000003848 RBP: ffff888047185d88 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bbae40 R12: 1ffff11008e30bad R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888047185d6c FS: 00007fc26a7c36c0(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc26a7a1fc8 CR3: 0000000037868000 CR4: 0000000000352ef0 Call Trace: ocfs2_journal_dirty+0x139/0x730 fs/ocfs2/journal.c:834 ocfs2_xa_journal_dirty fs/ocfs2/xattr.c:1483 [inline] ocfs2_xa_set+0x216e/0x2a70 fs/ocfs2/xattr.c:2293 ocfs2_xattr_block_set+0x3ca/0x31b0 fs/ocfs2/xattr.c:3015 __ocfs2_xattr_set_handle+0x661/0xf20 fs/ocfs2/xattr.c:3417 ocfs2_xattr_set+0xde8/0x11f0 fs/ocfs2/xattr.c:3680 __vfs_setxattr+0x43c/0x480 fs/xattr.c:200 __vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:234 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x274/0x600 fs/xattr.c:665 path_setxattrat+0x364/0x3a0 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc26998f7c9 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:00007fc26a7c3038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fc269be5fa0 RCX: 00007fc26998f7c9 RDX: 0000200000000380 RSI: 0000200000000300 RDI: 00002000000001c0 RBP: 00007fc269a13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc269be6038 R14: 00007fc269be5fa0 R15: 00007fff63691e88 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:jbd2_journal_dirty_metadata+0xbe1/0xc30 fs/jbd2/transaction.c:1534 Code: 98 ff e9 6f fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c af fc ff ff 48 89 df e8 3a a5 98 ff e9 a2 fc ff ff e8 80 fa 30 ff 90 <0f> 0b e8 78 fa 30 ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000caf6ab8 EFLAGS: 00010287 RAX: ffffffff82900aa0 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc90020ec2000 RSI: 0000000000003847 RDI: 0000000000003848 RBP: ffff888047185d88 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bbae40 R12: 1ffff11008e30bad R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888047185d6c FS: 00007fc26a7c36c0(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc26a7a1fc8 CR3: 0000000037868000 CR4: 0000000000352ef0