syzbot


kernel BUG at fs/ext4/ext4.h:LINE!

Status: auto-closed as invalid on 2021/05/01 06:31
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+b2947dd3e8c72dbe609b@syzkaller.appspotmail.com
First crash: 1211d, last: 1211d
Discussions (1)
Title Replies (including bot) Last reply
kernel BUG at fs/ext4/ext4.h:LINE! 0 (1) 2021/01/05 06:39
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in ext4_free_blocks 3 864d 897d 0/2 auto-closed as invalid on 2022/03/13 09:34
linux-4.14 kernel BUG in ext4_mb_load_buddy_gfp ext4 C 6 418d 1092d 0/1 upstream: reported C repro on 2021/04/29 16:39
android-5-10 kernel BUG in ext4_free_blocks (2) ext4 C error 25 360d 662d 2/2 fixed on 2023/05/04 14:51
linux-4.19 kernel BUG at fs/ext4/ext4.h:LINE! ext4 C error 13 439d 1257d 0/1 upstream: reported C repro on 2020/11/15 12:08
upstream kernel BUG in ext4_get_group_info ext4 C error 237 347d 981d 22/26 fixed on 2023/07/01 16:05
android-54 kernel BUG at fs/ext4/ext4.h:LINE! ext4 C 247 3h09m 1295d 0/2 upstream: reported C repro on 2020/10/08 13:59

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3221!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 12285 Comm: syz-executor.5 Not tainted 5.11.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3221 [inline]
RIP: 0010:ext4_get_group_info+0x340/0x3a0 fs/ext4/ext4.h:3216
Code: ff 48 c7 c2 c0 03 5f 89 be 83 02 00 00 48 c7 c7 a0 ff 5e 89 c6 05 6c 40 d2 0a 01 e8 f9 59 aa 06 e9 e4 fd ff ff e8 20 9e 69 ff <0f> 0b e8 c9 31 ac ff e9 16 fd ff ff e8 bf 31 ac ff e9 50 fd ff ff
RSP: 0018:ffffc90002ddfc58 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffff75e0 RCX: 0000000000000000
RDX: ffff88806a563780 RSI: ffffffff8208d670 RDI: 0000000000000003
RBP: ffff888021ef0000 R08: 0000000000000010 R09: 0000000000000000
R10: ffffffff8208d3a0 R11: 0000000000000000 R12: ffff888021eee000
R13: 0000000000000010 R14: ffff888021eee678 R15: ffffc90002ddfd60
FS:  0000000002296940(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005643b7305d18 CR3: 000000002b612000 CR4: 0000000000350ee0
Call Trace:
 ext4_mb_load_buddy_gfp+0xc6/0x1350 fs/ext4/mballoc.c:1156
 ext4_discard_preallocations+0x8c6/0xea0 fs/ext4/mballoc.c:4400
 ext4_release_file+0x2f0/0x370 fs/ext4/file.c:150
 __fput+0x283/0x920 fs/file_table.c:280
 task_work_run+0xdd/0x190 kernel/task_work.c:140
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417b71
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffe30828230 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000417b71
RDX: 0000000000000000 RSI: ffffffff88edf75e RDI: 0000000000000004
RBP: 0000000000000001 R08: ffffffff8128f848 R09: 0000000006ccd617
R10: 00007ffe30828310 R11: 0000000000000293 R12: 000000000119ca00
R13: 000000000119ca00 R14: 00000000000003e8 R15: 000000000119c0dc
Modules linked in:
---[ end trace 321f8951b9d369a1 ]---
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3221 [inline]
RIP: 0010:ext4_get_group_info+0x340/0x3a0 fs/ext4/ext4.h:3216
Code: ff 48 c7 c2 c0 03 5f 89 be 83 02 00 00 48 c7 c7 a0 ff 5e 89 c6 05 6c 40 d2 0a 01 e8 f9 59 aa 06 e9 e4 fd ff ff e8 20 9e 69 ff <0f> 0b e8 c9 31 ac ff e9 16 fd ff ff e8 bf 31 ac ff e9 50 fd ff ff
RSP: 0018:ffffc90002ddfc58 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffff75e0 RCX: 0000000000000000
RDX: ffff88806a563780 RSI: ffffffff8208d670 RDI: 0000000000000003
RBP: ffff888021ef0000 R08: 0000000000000010 R09: 0000000000000000
R10: ffffffff8208d3a0 R11: 0000000000000000 R12: ffff888021eee000
R13: 0000000000000010 R14: ffff888021eee678 R15: ffffc90002ddfd60
FS:  0000000002296940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/01 06:30 upstream f6e1ea196492 79264ae3 .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.