syzbot


kernel BUG in ext4_enable_quotas

Status: upstream: reported C repro on 2023/09/16 16:19
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+c5b6ba07e8810feb43e3@syzkaller.appspotmail.com
First crash: 260d, last: 23d
Bug presence (2)
Date Name Commit Repro Result
2023/09/16 lts (merge base) aff03380bda4 C [report] kernel BUG in ext4_enable_quotas
2023/09/16 upstream (ToT) 57d88e8a5974 C [report] kernel BUG in ext4_enable_quotas
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ext4_enable_quotas origin:upstream syz 1 22d 22d 0/3 upstream: reported syz repro on 2024/05/11 18:29
android-5-10 kernel BUG in ext4_enable_quotas C 2 12d 287d 0/2 upstream: reported C repro on 2023/08/20 19:02
upstream kernel BUG in ext4_enable_quotas ext4 C error done 16 151d 332d 26/26 fixed on 2024/02/16 19:40
android-6-1 kernel BUG in ext4_enable_quotas origin:upstream C error 1 9d11h 287d 0/2 upstream: reported C repro on 2023/08/21 04:17
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/05/10 22:25 52m bisect fix android13-5.15-lts job log (0) log
2024/04/07 00:49 1h48m bisect fix android13-5.15-lts job log (0) log
2024/03/07 10:26 1h15m bisect fix android13-5.15-lts job log (0) log
2024/01/31 16:54 1h14m bisect fix android13-5.15-lts job log (0) log
2023/12/31 03:33 1h10m bisect fix android13-5.15-lts job log (0) log
2023/11/30 23:18 1h43m bisect fix android13-5.15-lts job log (0) log
2023/10/30 17:39 1h34m bisect fix android13-5.15-lts job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/super.c:6355!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1271 Comm: syz-executor172 Not tainted 5.15.131-syzkaller-00653-gea586874d2f9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:ext4_quota_enable fs/ext4/super.c:6355 [inline]
RIP: 0010:ext4_enable_quotas+0x96a/0x980 fs/ext4/super.c:6402
Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4f f9 ff ff 49 89 d7 48 89 df e8 93 8c bd ff 4c 89 fa e9 3c f9 ff ff e8 06 a1 7b ff <0f> 0b e8 ff a0 7b ff 0f 0b e8 18 50 cc 02 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90002a677a0 EFLAGS: 00010293
RAX: ffffffff81f4547a RBX: 0000000000000000 RCX: ffff888112a5a780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002a67910 R08: ffffffff81f44f77 R09: ffffed10237c0401
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000000004 R14: dffffc0000000000 R15: ffff88810dd32464
FS:  00007f62204656c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc77f2fdf8 CR3: 000000010cd12000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_fill_super+0x8b95/0x96e0 fs/ext4/super.c:4950
 mount_bdev+0x282/0x3b0 fs/super.c:1387
 ext4_mount+0x34/0x40 fs/ext4/super.c:6581
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:611
 vfs_get_tree+0x88/0x290 fs/super.c:1517
 do_new_mount+0x28b/0xad0 fs/namespace.c:2994
 path_mount+0x671/0x1070 fs/namespace.c:3324
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3522
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f62204aa29a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6220465038 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f62204aa29a
RDX: 00000000200005c0 RSI: 0000000020000000 RDI: 00007f6220465090
RBP: 00000000200005c0 R08: 00007f62204650d0 R09: 00000000000004d4
R10: 0000000000200810 R11: 0000000000000206 R12: 00007f6220465090
R13: 0000000020000000 R14: 00000000000004da R15: 00007f62204650d0
 </TASK>
Modules linked in:
---[ end trace c665d5f99d995c4f ]---
RIP: 0010:ext4_quota_enable fs/ext4/super.c:6355 [inline]
RIP: 0010:ext4_enable_quotas+0x96a/0x980 fs/ext4/super.c:6402
Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4f f9 ff ff 49 89 d7 48 89 df e8 93 8c bd ff 4c 89 fa e9 3c f9 ff ff e8 06 a1 7b ff <0f> 0b e8 ff a0 7b ff 0f 0b e8 18 50 cc 02 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90002a677a0 EFLAGS: 00010293
RAX: ffffffff81f4547a RBX: 0000000000000000 RCX: ffff888112a5a780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002a67910 R08: ffffffff81f44f77 R09: ffffed10237c0401
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000000004 R14: dffffc0000000000 R15: ffff88810dd32464
FS:  00007f62204656c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000144 CR3: 000000010cd12000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/16 16:17 android13-5.15-lts ea586874d2f9 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-15 kernel BUG in ext4_enable_quotas
* Struck through repros no longer work on HEAD.