syzbot


kernel BUG at fs/ext4/ext4.h:LINE!
Status: upstream: reported C repro on 2020/10/08 13:59
Reported-by: syzbot+c24787e72920213d5bcb@syzkaller.appspotmail.com
First crash: 595d, last: 196d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/ext4/ext4.h:LINE! C error 7 234d 557d 0/1 upstream: reported C repro on 2020/11/15 12:08
upstream kernel BUG at fs/ext4/ext4.h:LINE! 1 510d 506d 0/22 auto-closed as invalid on 2021/05/01 06:31
android-5-10 kernel BUG in ext4_free_blocks 3 164d 197d 0/2 auto-closed as invalid on 2022/03/13 09:34
linux-4.14 kernel BUG in ext4_mb_load_buddy_gfp C 3 15d 392d 0/1 upstream: reported C repro on 2021/04/29 16:39
upstream kernel BUG in ext4_get_group_info syz error 1 10d 280d 0/22 upstream: reported syz repro on 2021/08/19 08:21

Sample crash report:
kernel BUG at fs/ext4/ext4.h:2977!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 349 Comm: syz-executor312 Not tainted 5.4.108-syzkaller-00846-g7af03784d889 #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:2977 [inline]
RIP: 0010:ext4_mb_load_buddy_gfp+0xdf0/0xe10 fs/ext4/mballoc.c:1116
Code: ff e8 84 3c cd ff e9 45 f4 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 8c f4 ff ff e8 8a 3c cd ff e9 82 f4 ff ff e8 50 6e 9e ff <0f> 0b e8 49 6e 9e ff 0f 0b e8 42 6e 9e ff 0f 0b e8 3b 6e 9e ff 0f
RSP: 0018:ffff8881e8d07c08 EFLAGS: 00010293
RAX: ffffffff81c6d8f0 RBX: 0000000000000010 RCX: ffff8881e92ede80
RDX: 0000000000000000 RSI: 00000000fffec510 RDI: 0000000000000010
RBP: ffff8881f1763000 R08: ffffffff81c6cbd3 R09: ffffed103be1e007
R10: ffffed103be1e007 R11: 0000000000000000 R12: 1ffff1103e2ec47e
R13: ffff8881f1762018 R14: 00000000fffec510 R15: ffff8881f17623f0
FS:  00000000005de400(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc84ba52718 CR3: 00000001ea9e4000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_discard_preallocations+0x63d/0x1240 fs/ext4/mballoc.c:4091
 ext4_release_file+0x160/0x300 fs/ext4/file.c:98
 __fput+0x27d/0x6c0 fs/file_table.c:281
 task_work_run+0x186/0x1b0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:163 [inline]
 prepare_exit_to_usermode+0x2b0/0x310 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x40845b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007fffeda7d0d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000040845b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000004cf4ec R08: 0000000000000000 R09: 0000003500000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 00007fffeda7d130 R14: 00007fffeda7d1a0 R15: 000000000000000b
Modules linked in:
RDX: 0000000000000000 RSI: 00000000fffec510 RDI: 0000000000000010
RBP: ffff8881f1763000 R08: ffffffff81c6cbd3 R09: ffffed103be1e007
R10: ffffed103be1e007 R11: 0000000000000000 R12: 1ffff1103e2ec47e
R13: ffff8881f1762018 R14: 00000000fffec510 R15: ffff8881f17623f0
FS:  00000000005de400(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe59ea20000 CR3: 00000001ea9e4000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2021/03/27 06:23 android12-5.4 7af03784d889 a8529b82 .config log report syz C kernel BUG in ext4_mb_load_buddy_gfp
ci2-android-5-4-kasan 2021/08/21 13:25 android12-5.4 3ce13296e72d b599f2fc .config log report syz kernel BUG in ext4_mb_load_buddy_gfp
ci2-android-5-4-kasan 2021/01/20 11:25 android12-5.4 e4139b2a81bd d4f4eca5 .config log report syz kernel BUG in ext4_mb_find_by_goal
ci2-android-5-4-kasan 2021/11/11 19:57 android12-5.4 f49f3b377eae 75b04091 .config log report info kernel BUG in ext4_free_blocks
ci2-android-5-4-kasan 2020/10/08 13:58 android12-5.4 54d2c66faf42 92390980 .config log report info