syzbot


WARNING in ext4_xattr_block_set

Status: upstream: reported C repro on 2022/11/04 16:23
Reported-by: syzbot+98346927678ac3059c77@syzkaller.appspotmail.com
First crash: 28d, last: 18d

Cause bisection: failed (bisect log)

Sample crash report:
loop0: detected capacity change from 0 to 4096
EXT4-fs: Journaled quota options ignored when QUOTA feature is enabled
EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3606 at fs/ext4/xattr.c:2069 ext4_xattr_block_set+0x2a5e/0x3130 fs/ext4/xattr.c:2069
Modules linked in:
CPU: 0 PID: 3606 Comm: syz-executor265 Not tainted 6.1.0-rc4-syzkaller-00045-g1767a722a708 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ext4_xattr_block_set+0x2a5e/0x3130 fs/ext4/xattr.c:2069
Code: ff ff e8 d5 bf 9a ff e9 5d ec ff ff 48 8b 7c 24 60 e8 c6 bf 9a ff e9 23 ec ff ff e8 ac bf 9a ff e9 9a ec ff ff e8 32 6c 4e ff <0f> 0b e9 b3 eb ff ff e8 96 bf 9a ff e9 db eb ff ff e8 9c bf 9a ff
RSP: 0018:ffffc90003ccf4d0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888020f7ba80 RSI: ffffffff822e404e RDI: 0000000000000001
RBP: 0000000097539874 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888021992018
R13: ffff88802750e700 R14: dffffc0000000000 R15: ffff8880756352f0
FS:  0000555556acc300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055aec34a87b0 CR3: 000000007da31000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 ext4_xattr_move_to_block fs/ext4/xattr.c:2604 [inline]
 ext4_xattr_make_inode_space fs/ext4/xattr.c:2673 [inline]
 ext4_expand_extra_isize_ea+0xaa9/0x1670 fs/ext4/xattr.c:2765
 __ext4_expand_extra_isize+0x31e/0x450 fs/ext4/inode.c:5857
 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5900 [inline]
 __ext4_mark_inode_dirty+0x530/0x930 fs/ext4/inode.c:5978
 ext4_rename+0xe2a/0x2650 fs/ext4/namei.c:3915
 ext4_rename2+0x1c3/0x270 fs/ext4/namei.c:4177
 vfs_rename+0x115e/0x1a90 fs/namei.c:4778
 do_renameat2+0xb5e/0xc80 fs/namei.c:4929
 __do_sys_rename fs/namei.c:4975 [inline]
 __se_sys_rename fs/namei.c:4973 [inline]
 __x64_sys_rename+0x7d/0xa0 fs/namei.c:4973
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4b4ff34bd9
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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdde28b448 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4b4ff34bd9
RDX: 00007f4b4fef30d3 RSI: 00000000200000c0 RDI: 0000000020000080
RBP: 00007f4b4fef43a0 R08: 00007ffdde28b340 R09: 0000000000000000
R10: 00007ffdde28b310 R11: 0000000000000246 R12: 00007f4b4fef4430
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (47):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/11/11 01:34 upstream 1767a722a708 3ead01ad .config log report syz C WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-root 2022/11/11 01:19 upstream 1767a722a708 3ead01ad .config log report syz C WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-root 2022/11/11 01:06 upstream 1767a722a708 3ead01ad .config log report syz C WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-root 2022/11/11 00:53 upstream 1767a722a708 3ead01ad .config log report syz C WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-root 2022/11/11 00:41 upstream 1767a722a708 3ead01ad .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/03 06:31 upstream b229b6ca5abb 7a2ebf95 .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 18:11 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 17:59 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 17:40 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 17:28 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 17:17 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-smack-root 2022/10/31 16:32 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-selinux-root 2022/10/31 16:31 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 16:24 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/10 13:43 upstream f67dd6ce0723 b2488a87 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/09 23:03 upstream f67dd6ce0723 bebca8b7 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/08 16:50 upstream 59f2f4b8a757 060f945e .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/07 02:15 upstream 089d1c31224e 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/06 04:07 upstream b208b9fbbcba 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci-qemu-upstream 2022/11/06 01:30 upstream b208b9fbbcba 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/05 22:56 upstream b208b9fbbcba 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci-qemu-upstream 2022/11/05 13:34 upstream 64c3dd0b98f5 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/05 12:35 upstream 64c3dd0b98f5 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/04 18:45 upstream ee6050c8af96 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/04 06:54 upstream f2f32f8af2b0 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/03 08:45 upstream b229b6ca5abb 7a2ebf95 .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-selinux-root 2022/11/03 00:14 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-selinux-root 2022/11/03 00:13 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-root 2022/11/03 00:11 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-root 2022/11/03 00:11 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/03 00:10 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-smack-root 2022/11/03 00:06 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-smack-root 2022/11/03 00:05 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-smack-root 2022/11/03 00:05 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/11/02 10:59 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-smack-root 2022/10/31 16:19 upstream b229b6ca5abb 2a71366b .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-selinux-root 2022/10/31 16:17 upstream b229b6ca5abb 2a71366b .config log report info WARNING in ext4_xattr_block_set
ci-upstream-kasan-gce-selinux-root 2022/10/31 16:17 upstream b229b6ca5abb 2a71366b .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 16:16 upstream b229b6ca5abb 2a71366b .config log report info WARNING in ext4_xattr_block_set
ci2-upstream-fs 2022/10/31 16:12 upstream b229b6ca5abb 2a71366b .config log report info WARNING in ext4_xattr_block_set
ci-qemu-upstream-386 2022/11/07 05:18 upstream 089d1c31224e 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci-qemu-upstream-386 2022/11/06 01:28 upstream b208b9fbbcba 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci-qemu-upstream-386 2022/11/05 13:40 upstream 64c3dd0b98f5 6d752409 .config log report info WARNING in ext4_xattr_block_set
ci-upstream-linux-next-kasan-gce-root 2022/11/03 00:13 linux-next 61c3426aca2c 08977f5d .config log report info WARNING in ext4_xattr_block_set
ci-upstream-linux-next-kasan-gce-root 2022/11/01 07:47 linux-next 4d48f589d294 a1d8560a .config log report info WARNING in ext4_xattr_block_set
ci-upstream-linux-next-kasan-gce-root 2022/11/01 04:18 linux-next 4d48f589d294 a1d8560a .config log report info WARNING in ext4_xattr_block_set
ci-upstream-linux-next-kasan-gce-root 2022/10/31 16:25 linux-next 4d48f589d294 2a71366b .config log report info WARNING in ext4_xattr_block_set
* Struck through repros no longer work on HEAD.