syzbot


WARNING in ext4_xattr_block_set (2)

Status: fixed on 2023/07/01 16:05
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+6385d7d3065524c5ca6d@syzkaller.appspotmail.com
Fix commit: a44be64bbecb ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
First crash: 474d, last: 406d
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
Re: Fwd: Remounting ext4 filesystem from ro to rw fails when quotas are enabled 2 (2) 2023/06/08 17:52
[PATCH 1/2] ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled 1 (1) 2023/05/06 14:24
[syzbot] [ext4?] WARNING in ext4_xattr_block_set (2) 1 (3) 2023/05/03 21:08
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ext4_xattr_block_set ext4 C error 57 488d 594d 22/27 fixed on 2023/02/24 13:50
Last patch testing requests (8)
Created Duration User Patch Repo Result
2023/05/06 03:25 33m tytso@mit.edu git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tt/next OK log
2023/05/05 19:59 32m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev OK log
2023/05/05 18:02 25m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/05/05 16:04 23m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/05/05 04:35 26m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/05/05 01:13 24m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/05/04 02:12 27m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/05/03 20:28 26m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log

Sample crash report:
WARNING: CPU: 0 PID: 5148 at fs/ext4/xattr.c:2140 ext4_xattr_block_set+0x2ef2/0x3680
Modules linked in:
CPU: 0 PID: 5148 Comm: syz-executor401 Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:ext4_xattr_block_set+0x2ef2/0x3680 fs/ext4/xattr.c:2140
Code: 4f 3d ff 48 8b 7c 24 50 4c 89 ee e8 c8 3e c2 ff 45 31 ed e9 86 f4 ff ff e8 db 4f 3d ff 45 31 ed e9 79 f4 ff ff e8 ce 4f 3d ff <0f> 0b e9 5d f2 ff ff e8 c2 4f 3d ff 0f 0b 43 80 3c 26 00 0f 85 6f
RSP: 0018:ffffc900040ff000 EFLAGS: 00010293
RAX: ffffffff824e1772 RBX: 1ffff9200081fe7d RCX: ffff888016759dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc900040ff230 R08: ffffffff8213f210 R09: ffffed100477eaae
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900040ff3c0
FS:  00007f92e72d4700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f92e72f5718 CR3: 00000000284c0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_xattr_set_handle+0xcd4/0x15c0 fs/ext4/xattr.c:2457
 ext4_initxattrs+0xa3/0x110 fs/ext4/xattr_security.c:44
 security_inode_init_security+0x2df/0x3f0 security/security.c:1630
 __ext4_new_inode+0x341c/0x42e0 fs/ext4/ialloc.c:1322
 ext4_create+0x279/0x550 fs/ext4/namei.c:2808
 lookup_open fs/namei.c:3492 [inline]
 open_last_lookups fs/namei.c:3560 [inline]
 path_openat+0x13df/0x3170 fs/namei.c:3788
 do_filp_open+0x234/0x490 fs/namei.c:3818
 do_sys_openat2+0x13f/0x500 fs/open.c:1356
 do_sys_open fs/open.c:1372 [inline]
 __do_sys_openat fs/open.c:1388 [inline]
 __se_sys_openat fs/open.c:1383 [inline]
 __x64_sys_openat+0x247/0x290 fs/open.c:1383
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f92ef72a839
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f92e72d42f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f92ef7af7c0 RCX: 00007f92ef72a839
RDX: 000000000000275a RSI: 0000000020000100 RDI: 00000000ffffff9c
RBP: 00007f92ef77c58c R08: 00007f92e72d4700 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 756f726776737973
R13: 636f6c6c61646c6f R14: 0030656c69662f2e R15: 00007f92ef7af7c8
 </TASK>

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/09 08:26 upstream ba0ad6ed89fd c7a5e2a0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/04 22:40 upstream 0988a0ea7919 f8902b57 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/04 20:21 upstream 0988a0ea7919 f8902b57 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in ext4_xattr_block_set
2023/03/04 22:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 596b6b709632 f8902b57 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in ext4_xattr_block_set
2023/05/08 13:35 upstream ac9a78681b92 90c93c40 .config strace log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/12 05:33 upstream 105131df9c3b adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/07 17:30 upstream fc4354c6e5c2 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/04 23:34 upstream 1a5304fecee5 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/04 20:32 upstream 1a5304fecee5 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/02 21:08 upstream 865fdb08197e 52d40fd2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/02 13:30 upstream 865fdb08197e 52d40fd2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/05/02 00:12 upstream c8c655c34e33 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/04/30 09:46 upstream 825a0714d2b3 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/04/23 14:39 upstream 622322f53c6d 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/04/15 09:17 upstream 7a934f4bd7d6 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/04/12 11:01 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/30 12:01 upstream ffe78bbd5121 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/29 08:59 upstream fcd476ea6a88 fc067f05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/28 06:32 upstream 3a93e40326c8 47f3aaf1 .config console log report info ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/27 04:54 upstream 18940c888c85 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/27 00:55 upstream 18940c888c85 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/24 00:06 upstream 9fd6ba5420ba f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/23 04:00 upstream fff5a5e7f528 f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/22 02:00 upstream 2faac9a98f01 8b4eb097 .config console log report info ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/15 15:07 upstream 6015b1aca1a2 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/14 01:25 upstream eeac8ede1755 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/13 21:39 upstream fc89d7fb499b 026e2200 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ext4_xattr_block_set
2023/03/13 06:31 upstream eeac8ede1755 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_xattr_block_set
2023/03/13 00:09 upstream 134231664868 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ext4_xattr_block_set
2023/03/05 13:09 upstream b01fe98d34f3 f8902b57 .config console log report info ci-qemu-upstream WARNING in ext4_xattr_block_set
2023/03/04 16:52 upstream 0988a0ea7919 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ext4_xattr_block_set
2023/04/22 02:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ext4_xattr_block_set
* Struck through repros no longer work on HEAD.