syzbot


kernel BUG in ext4_mb_find_by_goal

Status: auto-obsoleted due to no activity on 2023/12/31 02:01
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+3d039eb5d672f5357ffb@syzkaller.appspotmail.com
First crash: 554d, last: 396d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit b4319e457d6e3fb33e443efeaf4634fc36e8a9ed
Author: Theodore Ts'o <tytso@mit.edu>
Date: Sat Apr 29 04:06:28 2023 +0000

  ext4: allow ext4_get_group_info() to fail

  
Bug presence (2)
Date Name Commit Repro Result
2023/05/17 lts (merge base) b1644a0031cf C [report] kernel BUG in ext4_mb_find_by_goal
2023/05/17 upstream (ToT) 4d6d4c7f541d C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 kernel BUG in ext4_mb_find_by_goal C error done 19 514d 553d 0/2 auto-obsoleted due to no activity on 2023/09/19 22:50
linux-4.19 kernel BUG at fs/ext4/ext4.h:LINE! ext4 C error 13 648d 1467d 0/1 upstream: reported C repro on 2020/11/15 12:08
android-5-10 kernel BUG in ext4_mb_find_by_goal C error done 31 513d 553d 2/2 fixed on 2023/08/16 20:51
android-54 kernel BUG at fs/ext4/ext4.h:LINE! ext4 C 438 12d 1505d 0/2 upstream: reported C repro on 2020/10/08 13:59
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/11/05 03:03 19m retest repro android14-6.1 OK log
2023/11/05 03:03 20m retest repro android14-6.1 OK log
2023/11/05 03:03 22m retest repro android14-6.1 OK log
2023/11/05 03:03 14m retest repro android14-6.1 OK log

Sample crash report:
EXT4-fs error (device loop0): ext4_map_blocks:607: inode #3: block 9: comm syz-executor122: lblock 0 mapped to illegal pblock 9 (length 1)
EXT4-fs error (device loop0): __ext4_get_inode_loc:4492: comm syz-executor122: Invalid inode table block 0 in block_group 0
EXT4-fs error (device loop0) in ext4_reserve_inode_write:5841: Corrupt filesystem
EXT4-fs error (device loop0): ext4_dirty_inode:6045: inode #16: comm syz-executor122: mark_inode_dirty error
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3331!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 464 Comm: syz-executor122 Not tainted 6.1.25-syzkaller-00122-gfa9645687ea5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3331 [inline]
RIP: 0010:ext4_mb_find_by_goal+0xdf4/0xe30 fs/ext4/mballoc.c:2162
Code: c4 ff e9 b5 fb ff ff e8 9a 9f 7e ff 49 bc 00 00 00 00 00 fc ff df e9 6f f7 ff ff e8 86 9f 7e ff e9 51 f7 ff ff e8 7c 9f 7e ff <0f> 0b e8 95 98 10 03 e8 70 9f 7e ff 0f 0b e8 69 9f 7e ff 0f 0b e8
RSP: 0018:ffffc900011471c0 EFLAGS: 00010293
RAX: ffffffff81f52434 RBX: 0000000000000001 RCX: ffff888120122880
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc900011472d0 R08: ffffffff81f5176b R09: ffffed10217bbb7b
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110213b6879
R13: 0000000000000001 R14: 1ffff92000228e48 R15: ffff888109db43c8
FS:  00007fa77c52f700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 0000000122666000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_mb_regular_allocator+0x24c/0x3610 fs/ext4/mballoc.c:2614
 ext4_mb_new_blocks+0xfd3/0x48f0 fs/ext4/mballoc.c:5611
 ext4_ext_map_blocks+0x19ca/0x71e0 fs/ext4/extents.c:4287
 ext4_map_blocks+0xa42/0x1ce0 fs/ext4/inode.c:651
 ext4_alloc_file_blocks+0x3d5/0xcd0 fs/ext4/extents.c:4471
 ext4_fallocate+0x942/0x1e90 fs/ext4/extents.c:4758
 vfs_fallocate+0x492/0x570 fs/open.c:324
 ksys_fallocate fs/open.c:347 [inline]
 __do_sys_fallocate fs/open.c:355 [inline]
 __se_sys_fallocate fs/open.c:353 [inline]
 __x64_sys_fallocate+0xc0/0x110 fs/open.c:353
 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+0x63/0xcd
RIP: 0033:0x7fa77c583759
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa77c52f2f8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007fa77c6087a0 RCX: 00007fa77c583759
RDX: 0000000000008947 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fa77c5d59e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000246 R12: 00007fa77c5d5578
R13: 0031656c69662f2e R14: 6f6f6c2f7665642f R15: 00007fa77c6087a8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3331 [inline]
RIP: 0010:ext4_mb_find_by_goal+0xdf4/0xe30 fs/ext4/mballoc.c:2162
Code: c4 ff e9 b5 fb ff ff e8 9a 9f 7e ff 49 bc 00 00 00 00 00 fc ff df e9 6f f7 ff ff e8 86 9f 7e ff e9 51 f7 ff ff e8 7c 9f 7e ff <0f> 0b e8 95 98 10 03 e8 70 9f 7e ff 0f 0b e8 69 9f 7e ff 0f 0b e8
RSP: 0018:ffffc900011471c0 EFLAGS: 00010293
RAX: ffffffff81f52434 RBX: 0000000000000001 RCX: ffff888120122880
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc900011472d0 R08: ffffffff81f5176b R09: ffffed10217bbb7b
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110213b6879
R13: 0000000000000001 R14: 1ffff92000228e48 R15: ffff888109db43c8
FS:  00007fa77c52f700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 0000000122666000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (78):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/25 06:19 android14-6.1 fa9645687ea5 79782afc .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/05/17 18:29 android14-6.1 7d346b229c78 eaac4681 .config strace log report syz C [mounted in repro] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/03 11:43 android14-6.1 cf1ba6a102b6 65faba36 .config console log report syz [mounted in repro] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/15 05:13 android14-6.1 60662882b7bd 76decb82 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/22 02:00 android14-6.1 53771c1826da 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/15 16:45 android14-6.1 acb072863888 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/11 02:28 android14-6.1 368b752997c7 83165b57 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/08 09:17 android14-6.1 1fe248991f96 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/06 03:26 android14-6.1 324c8522f9cd db17ad9f .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/05 07:23 android14-6.1 4e10001b7cb5 b7d7ff54 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/05 06:07 android14-6.1 4e10001b7cb5 b7d7ff54 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/03 20:56 android14-6.1 f7e7874d9b0d 65faba36 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/03 19:50 android14-6.1 f7e7874d9b0d 65faba36 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/03 11:25 android14-6.1 cf1ba6a102b6 65faba36 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/10/01 23:09 android14-6.1 52824b718cd0 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/30 05:37 android14-6.1 52824b718cd0 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/24 11:23 android14-6.1 060ebb378d1c 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/16 10:47 android14-6.1 d3212c2dbaba 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/14 10:05 android14-6.1 c2ac612610e0 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/12 10:14 android14-6.1 2eb5b31ac1e3 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/10 13:20 android14-6.1 cd94fe67fd33 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/09/02 14:58 android14-6.1 b15c3a3df0a8 696ea0d2 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/30 23:22 android14-6.1 2a13641a142a 84803932 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/23 17:48 android14-6.1 9fd41ac1729d b81ca3f6 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/23 10:51 android14-6.1 9fd41ac1729d b81ca3f6 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/21 14:32 android14-6.1 c2611a04b92f d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/15 05:06 android14-6.1 37f450940760 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/12 22:58 android14-6.1 d7dacaa439c7 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/12 15:56 android14-6.1 d7dacaa439c7 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/08 03:54 android14-6.1 3926cc6ef8cc b1b6ae3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/06 20:37 android14-6.1 5e1d25ac2ab6 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/06 18:46 android14-6.1 5e1d25ac2ab6 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/02 01:25 android14-6.1 295e779e8f89 df07ffe8 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/01 23:57 android14-6.1 295e779e8f89 df07ffe8 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/01 05:45 android14-6.1 f5c707dc65df 2a0d0f29 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/08/01 00:34 android14-6.1 f5c707dc65df 2a0d0f29 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/31 22:24 android14-6.1 f5c707dc65df 2a0d0f29 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/30 13:54 android14-6.1 d3b37a712ab7 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/30 10:17 android14-6.1 d3b37a712ab7 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/30 10:16 android14-6.1 d3b37a712ab7 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/27 18:11 android14-6.1 c0ba567af11a 92476829 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/27 04:33 android14-6.1 1e114e6efac1 41fe1bae .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/25 22:28 android14-6.1 0ee75a672ca5 6756545c .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/25 18:45 android14-6.1 0ee75a672ca5 6756545c .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/24 15:52 android14-6.1 701f85c2a19d b03242d7 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/23 07:23 android14-6.1 d51e21b39415 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/23 07:11 android14-6.1 d51e21b39415 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/20 17:30 android14-6.1 3a8999c6830e f49af159 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/19 11:05 android14-6.1 a5e46b0f3c05 022df2bb .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/18 10:14 android14-6.1 a16d62a2960b 20f8b3c2 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/18 04:12 android14-6.1 7f0f58f97b78 20f8b3c2 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/16 18:19 android14-6.1 f6707f352b54 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/16 17:55 android14-6.1 f6707f352b54 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/07 13:00 android14-6.1 c480e4e57628 22ae5830 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/07 12:50 android14-6.1 c480e4e57628 22ae5830 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/07 06:03 android14-6.1 c480e4e57628 22ae5830 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/07 06:02 android14-6.1 c480e4e57628 22ae5830 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/07 05:57 android14-6.1 c480e4e57628 22ae5830 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/06 07:22 android14-6.1 f63b2625af7c ba5dba36 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/04 23:02 android14-6.1 39385f756876 f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/03 08:09 android14-6.1 ed2a228522b9 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/01 07:53 android14-6.1 ed2a228522b9 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/07/01 01:25 android14-6.1 ed2a228522b9 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/28 21:54 android14-6.1 251aa28d1640 ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/27 12:14 android14-6.1 51cb1e1cfd27 4cd5bb25 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/22 20:31 android14-6.1 32c2d42ee1f1 79782afc .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/21 20:10 android14-6.1 d28f02c47b77 79782afc .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/20 14:54 android14-6.1 1c4d2aa0c712 09ffe269 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/19 15:21 android14-6.1 8f5a2209750e d521bc56 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/16 12:18 android14-6.1 d73b3af21fb9 f3921d4d .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/16 09:34 android14-6.1 d73b3af21fb9 f3921d4d .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/04 06:36 android14-6.1 7b1489746079 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/06/02 05:29 android14-6.1 87b384408e48 a4ae4f42 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/05/30 01:56 android14-6.1 1464eaee1bba cf184559 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/05/29 14:14 android14-6.1 500484f5be02 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
2023/05/17 18:12 android14-6.1 7d346b229c78 eaac4681 .config console log report info ci2-android-6-1 kernel BUG in ext4_mb_find_by_goal
* Struck through repros no longer work on HEAD.