syzbot


kernel BUG in ext4_enable_quotas

Status: upstream: reported C repro on 2023/08/20 19:02
Reported-by: syzbot+3ec9881a02d462661bd1@syzkaller.appspotmail.com
First crash: 459d, last: 82d
Fix bisection: failed (error log, bisect log)
  
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 error 1 160d 193d 0/3 upstream: reported syz repro on 2024/05/11 18:29
android-5-15 kernel BUG in ext4_enable_quotas origin:upstream C error 1 81d 432d 0/2 upstream: reported C repro on 2023/09/16 16:19
upstream kernel BUG in ext4_enable_quotas ext4 C error done 16 323d 503d 25/28 fixed on 2024/02/16 19:40
android-6-1 kernel BUG in ext4_enable_quotas origin:upstream C error error 1 69d 458d 0/2 upstream: reported C repro on 2023/08/21 04:17
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/09/03 19:27 13m retest repro android13-5.10-lts report log
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2024/10/14 23:21 0m bisect fix android13-5.10-lts error job log
2024/08/31 08:18 1h52m bisect fix android13-5.10-lts OK (0) job log log
2024/07/29 12:33 1h45m bisect fix android13-5.10-lts OK (0) job log log
2024/06/26 01:03 1h13m bisect fix android13-5.10-lts OK (0) job log log
2024/05/21 19:04 2h01m bisect fix android13-5.10-lts OK (0) job log log
2024/04/18 16:03 2h23m bisect fix android13-5.10-lts OK (0) job log log
2024/03/16 06:57 1h16m bisect fix android13-5.10-lts OK (0) job log log
2024/02/11 14:15 1h15m bisect fix android13-5.10-lts OK (0) job log log
2024/01/05 02:31 1h15m bisect fix android13-5.10-lts OK (0) job log log
2023/12/05 21:10 1h15m bisect fix android13-5.10-lts OK (0) job log log
2023/11/04 14:37 1h16m bisect fix android13-5.10-lts OK (0) job log log
2023/10/04 02:12 1h22m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/super.c:6399!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 879 Comm: syz-executor417 Not tainted 5.10.187-syzkaller-00057-g8a427269c016 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:ext4_quota_enable fs/ext4/super.c:6399 [inline]
RIP: 0010:ext4_enable_quotas+0x9e1/0x9f0 fs/ext4/super.c:6446
Code: 38 c1 0f 8c d1 f8 ff ff 49 89 f6 48 89 df e8 a6 eb bb ff 4c 89 f6 48 ba 00 00 00 00 00 fc ff df e9 b4 f8 ff ff e8 df bc 7e ff <0f> 0b e8 d8 bc 7e ff 0f 0b e8 41 07 be 02 90 55 48 89 e5 41 57 41
RSP: 0018:ffffc900029677c0 EFLAGS: 00010293
RAX: ffffffff81ebd0c1 RBX: 0000000000000000 RCX: ffff88810ffae2c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002967930 R08: ffffffff81ebcb60 R09: ffffed10238267c4
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000000004 R14: ffffc90002967848 R15: ffff8881198af464
FS:  00007fc1322066c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc13229da18 CR3: 0000000117d8c000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_fill_super+0x87e7/0x9280 fs/ext4/super.c:5060
 mount_bdev+0x262/0x370 fs/super.c:1420
 ext4_mount+0x34/0x40 fs/ext4/super.c:6625
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:592
 vfs_get_tree+0x88/0x290 fs/super.c:1550
 do_new_mount+0x28b/0xad0 fs/namespace.c:2899
 path_mount+0x56f/0xcb0 fs/namespace.c:3229
 do_mount fs/namespace.c:3242 [inline]
 __do_sys_mount fs/namespace.c:3450 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3427
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3427
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fc13224b35a
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:00007fc132206038 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fc13224b35a
RDX: 00000000200005c0 RSI: 0000000020000000 RDI: 00007fc132206090
RBP: 00000000200005c0 R08: 00007fc1322060d0 R09: 00000000000004d4
R10: 0000000000200810 R11: 0000000000000206 R12: 00007fc132206090
R13: 0000000020000000 R14: 00000000000004da R15: 00007fc1322060d0
Modules linked in:
---[ end trace ddd9eeb0fecebd4e ]---
RIP: 0010:ext4_quota_enable fs/ext4/super.c:6399 [inline]
RIP: 0010:ext4_enable_quotas+0x9e1/0x9f0 fs/ext4/super.c:6446
Code: 38 c1 0f 8c d1 f8 ff ff 49 89 f6 48 89 df e8 a6 eb bb ff 4c 89 f6 48 ba 00 00 00 00 00 fc ff df e9 b4 f8 ff ff e8 df bc 7e ff <0f> 0b e8 d8 bc 7e ff 0f 0b e8 41 07 be 02 90 55 48 89 e5 41 57 41
RSP: 0018:ffffc900029677c0 EFLAGS: 00010293
RAX: ffffffff81ebd0c1 RBX: 0000000000000000 RCX: ffff88810ffae2c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002967930 R08: ffffffff81ebcb60 R09: ffffed10238267c4
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000000004 R14: ffffc90002967848 R15: ffff8881198af464
FS:  00007fc1322066c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc13229da18 CR3: 0000000117d8c000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/20 18:59 android13-5.10-lts 8a427269c016 d216d8a0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-10 kernel BUG in ext4_enable_quotas
2023/08/20 14:25 android13-5.10-lts 8a427269c016 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_enable_quotas
* Struck through repros no longer work on HEAD.