(syz.0.0,5342,0):ocfs2_dio_end_io:2401 ERROR: Direct IO failed, bytes = -28 (syz.0.0,5342,0):ocfs2_extend_trans:460 ERROR: status = -30 (syz.0.0,5342,0):ocfs2_truncate_rec:5445 ERROR: status = -30 (syz.0.0,5342,0):ocfs2_remove_extent:5592 ERROR: status = -30 (syz.0.0,5342,0):__ocfs2_remove_xattr_range:786 ERROR: status = -30 (syz.0.0,5342,0):ocfs2_xattr_shrink_size:840 ERROR: status = -30 (syz.0.0,5342,0):__ocfs2_journal_access:727 ERROR: Error -30 getting 1 access to buffer! (syz.0.0,5342,0):ocfs2_xa_prepare_entry:2181 ERROR: status = -30 (syz.0.0,5342,0):ocfs2_xa_set:2284 ERROR: status = -30 JBD2: assertion failure: h_type=0 h_line_no=0 block_no=19105 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: 5342 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 1a a5 98 ff e9 a2 fc ff ff e8 a0 fa 30 ff 90 <0f> 0b e8 98 fa 30 ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000e91eab8 EFLAGS: 00010283 RAX: ffffffff82900cc0 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc90021373000 RSI: 0000000000003851 RDI: 0000000000003852 RBP: ffff888011c0f608 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bbae40 R12: 1ffff11002381ebd R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888011c0f5ec FS: 00007f0a689f56c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a825909c0 CR3: 000000001f8eb000 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:0x7f0a6c58f7c9 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:00007f0a689f5038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f0a6c7e6090 RCX: 00007f0a6c58f7c9 RDX: 00002000000001c0 RSI: 0000200000000380 RDI: 0000200000000180 RBP: 00007f0a6c613f91 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0a6c7e6128 R14: 00007f0a6c7e6090 R15: 00007ffcf7365f98 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 1a a5 98 ff e9 a2 fc ff ff e8 a0 fa 30 ff 90 <0f> 0b e8 98 fa 30 ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000e91eab8 EFLAGS: 00010283 RAX: ffffffff82900cc0 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc90021373000 RSI: 0000000000003851 RDI: 0000000000003852 RBP: ffff888011c0f608 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bbae40 R12: 1ffff11002381ebd R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888011c0f5ec FS: 00007f0a689f56c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a825909c0 CR3: 000000001f8eb000 CR4: 0000000000352ef0