syzbot


kernel BUG in ext4_enable_quotas

Status: upstream: reported syz repro on 2024/12/04 21:05
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+1aa4d531992b16843cf9@syzkaller.appspotmail.com
First crash: 17d, last: 17d
Bug presence (1)
Date Name Commit Repro Result
2024/12/04 upstream (ToT) feffde684ac2 C [report] kernel BUG in ext4_enable_quotas
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ext4_enable_quotas origin:upstream syz error 1 190d 224d 0/3 upstream: reported syz repro on 2024/05/11 18:29
android-5-10 kernel BUG in ext4_enable_quotas C error 2 112d 489d 0/2 upstream: reported C repro on 2023/08/20 19:02
android-5-15 kernel BUG in ext4_enable_quotas origin:upstream C error 1 112d 462d 0/2 upstream: reported C repro on 2023/09/16 16:19
upstream kernel BUG in ext4_enable_quotas ext4 C error done 16 353d 534d 25/28 fixed on 2024/02/16 19:40
android-6-1 kernel BUG in ext4_enable_quotas origin:upstream C error error 1 99d 488d 0/2 upstream: reported C repro on 2023/08/21 04:17

Sample crash report:
loop2: detected capacity change from 0 to 512
------------[ cut here ]------------
kernel BUG at fs/ext4/super.c:6981!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 6611 Comm: syz.2.67 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:ext4_quota_enable fs/ext4/super.c:6981 [inline]
RIP: 0010:ext4_enable_quotas+0xd30/0xd40 fs/ext4/super.c:7028
Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 63 f5 ff ff 49 89 d6 48 89 df e8 1d 3b 99 ff 4c 89 f2 e9 50 f5 ff ff e8 00 b2 41 ff <0f> 0b e8 f9 b1 41 ff 0f 0b e8 42 e9 68 08 66 90 55 41 57 41 56 41
RSP: 0018:ffffc900059df840 EFLAGS: 00010293
RAX: ffffffff8248e9f0 RBX: 0000000000000000 RCX: ffff88802f6e3b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900059dfa10 R08: ffffffff8248e11b R09: ffffed100dbdb95f
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88801fb88464 R15: ffff88802850c000
FS:  00007f695cc6d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff7b6dfc5e8 CR3: 000000005cdf1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ext4_fill_super fs/ext4/super.c:5519 [inline]
 ext4_fill_super+0x81e6/0x8b50 fs/ext4/super.c:5665
 get_tree_bdev+0x3fe/0x620 fs/super.c:1366
 vfs_get_tree+0x88/0x270 fs/super.c:1573
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3056
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f695bd816ba
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f695cc6ce88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f695cc6cf10 RCX: 00007f695bd816ba
RDX: 00000000200005c0 RSI: 0000000020000000 RDI: 00007f695cc6ced0
RBP: 00000000200005c0 R08: 00007f695cc6cf10 R09: 0000000000200810
R10: 0000000000200810 R11: 0000000000000246 R12: 0000000020000000
R13: 00007f695cc6ced0 R14: 00000000000004da R15: 0000000020001400
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_quota_enable fs/ext4/super.c:6981 [inline]
RIP: 0010:ext4_enable_quotas+0xd30/0xd40 fs/ext4/super.c:7028
Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 63 f5 ff ff 49 89 d6 48 89 df e8 1d 3b 99 ff 4c 89 f2 e9 50 f5 ff ff e8 00 b2 41 ff <0f> 0b e8 f9 b1 41 ff 0f 0b e8 42 e9 68 08 66 90 55 41 57 41 56 41
RSP: 0018:ffffc900059df840 EFLAGS: 00010293
RAX: ffffffff8248e9f0 RBX: 0000000000000000 RCX: ffff88802f6e3b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900059dfa10 R08: ffffffff8248e11b R09: ffffed100dbdb95f
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88801fb88464 R15: ffff88802850c000
FS:  00007f695cc6d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff7b6dfc5e8 CR3: 000000005cdf1000 CR4: 00000000003506f0
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
2024/12/04 21:05 linux-6.1.y e4d90d63d385 b50eb251 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan kernel BUG in ext4_enable_quotas
* Struck through repros no longer work on HEAD.