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.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/xattr.c:743!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5351 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-11241-g186f3edfdd41 #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_xattr_extend_allocation fs/ocfs2/xattr.c:743 [inline]
RIP: 0010:ocfs2_xattr_value_truncate+0x1518/0x1520 fs/ocfs2/xattr.c:864
Code: 07 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 85 ed ff ff 48 89 df 49 89 f6 e8 86 5c 73 fe 4c 89 f6 e9 72 ed ff ff e8 f9 8a 0e fe 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000d396940 EFLAGS: 00010283
RAX: ffffffff83b123a7 RBX: 00000000fffffff5 RCX: 0000000000100000
RDX: ffffc9000dfb2000 RSI: 00000000000008f0 RDI: 00000000000008f1
RBP: ffffc9000d396c70 R08: ffff888000b3c880 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000002 R12: ffff888053f6b5d0
R13: dffffc0000000000 R14: 0000000000000002 R15: 0000000000000001
FS: 00007f44fcc416c0(0000) GS:ffff88808d21f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffffffff000 CR3: 0000000043426000 CR4: 0000000000352ef0
Call Trace:
<TASK>
ocfs2_xa_value_truncate+0x295/0x3d0 fs/ocfs2/xattr.c:1915
ocfs2_xa_prepare_entry fs/ocfs2/xattr.c:2173 [inline]
ocfs2_xa_set+0x2371/0x3050 fs/ocfs2/xattr.c:2251
ocfs2_xattr_block_set+0x3c4/0x2bc0 fs/ocfs2/xattr.c:2985
__ocfs2_xattr_set_handle+0x661/0xf20 fs/ocfs2/xattr.c:3387
ocfs2_xattr_set+0xde8/0x11f0 fs/ocfs2/xattr.c:3650
__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_lsetxattr fs/xattr.c:754 [inline]
__se_sys_lsetxattr fs/xattr.c:750 [inline]
__x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f44fbd8eb69
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:00007f44fcc41038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007f44fbfb5fa0 RCX: 00007f44fbd8eb69
RDX: 0000200000000040 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007f44fbe11df1 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f44fbfb5fa0 R15: 00007ffcb8d15218
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_xattr_extend_allocation fs/ocfs2/xattr.c:743 [inline]
RIP: 0010:ocfs2_xattr_value_truncate+0x1518/0x1520 fs/ocfs2/xattr.c:864
Code: 07 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 85 ed ff ff 48 89 df 49 89 f6 e8 86 5c 73 fe 4c 89 f6 e9 72 ed ff ff e8 f9 8a 0e fe 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000d396940 EFLAGS: 00010283
RAX: ffffffff83b123a7 RBX: 00000000fffffff5 RCX: 0000000000100000
RDX: ffffc9000dfb2000 RSI: 00000000000008f0 RDI: 00000000000008f1
RBP: ffffc9000d396c70 R08: ffff888000b3c880 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000002 R12: ffff888053f6b5d0
R13: dffffc0000000000 R14: 0000000000000002 R15: 0000000000000001
FS: 00007f44fcc416c0(0000) GS:ffff88808d21f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cead42c168 CR3: 0000000043426000 CR4: 0000000000352ef0