syzbot


kernel BUG in ext4_trim_fs

Status: upstream: reported C repro on 2023/07/11 04:17
Reported-by: syzbot+7c8d30c5e1c4731ea312@syzkaller.appspotmail.com
First crash: 633d, last: 3d06h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 kernel BUG in ext4_trim_fs origin:lts C error done 9 549d 618d 0/2 auto-obsoleted due to no activity on 2024/01/11 20:47
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/01/25 11:33 2m retest repro android12-5.4 error
2025/01/10 04:02 2m retest repro android12-5.4 error
2024/12/29 00:04 2m retest repro android12-5.4 error
2024/12/29 00:04 3m retest repro android12-5.4 error
2024/11/15 20:22 13m retest repro android12-5.4 report log
2024/11/01 00:57 1h22m retest repro android12-5.4 report log
2024/10/14 19:01 7m retest repro android12-5.4 report log
2024/10/14 19:01 7m retest repro android12-5.4 report log
2024/09/03 01:21 10m retest repro android12-5.4 report log
2024/08/19 18:27 17m retest repro android12-5.4 report log

Sample crash report:
EXT4-fs (loop0): Remounting filesystem read-only
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:2985!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 368 Comm: syz-executor326 Not tainted 5.4.290-syzkaller-00002-g41adfeb3d639 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline]
RIP: 0010:ext4_trim_fs+0x1ec8/0x1ee0 fs/ext4/mballoc.c:5389
Code: 80 e1 07 80 c1 03 38 c1 0f 8c fd e6 ff ff 48 8d bc 24 10 02 00 00 e8 77 a3 c8 ff e9 eb e6 ff ff e8 5d 5c 6f ff e8 48 b9 98 ff <0f> 0b e8 41 b9 98 ff 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
RSP: 0018:ffff8881ee7cf4e0 EFLAGS: 00010293
RAX: ffffffff81cb91b8 RBX: 0000000000000001 RCX: ffff8881f32f9f80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff8881ee7cf770 R08: ffffffff81cb7ad4 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000003fff R14: ffff8881eef33000 R15: 0000000000000001
FS:  000055558c00c380(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc2dc33d08 CR3: 00000001eecce000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_ioctl+0x2168/0x3ff0 fs/ext4/ioctl.c:1128
 do_vfs_ioctl+0x742/0x1720 fs/ioctl.c:47
 ksys_ioctl fs/ioctl.c:742 [inline]
 __do_sys_ioctl fs/ioctl.c:749 [inline]
 __se_sys_ioctl fs/ioctl.c:747 [inline]
 __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f4626b72879
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007fffd3059448 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000200000000000 RCX: 00007f4626b72879
RDX: 0000200000000240 RSI: 00000000c0185879 RDI: 0000000000000006
RBP: 0000200000000000 R08: 0000000000000000 R09: 00000000000b15f8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffd3059618 R14: 0000000000000001 R15: 0000000000000001
Modules linked in:
---[ end trace db85b38581cbe57e ]---
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline]
RIP: 0010:ext4_trim_fs+0x1ec8/0x1ee0 fs/ext4/mballoc.c:5389
Code: 80 e1 07 80 c1 03 38 c1 0f 8c fd e6 ff ff 48 8d bc 24 10 02 00 00 e8 77 a3 c8 ff e9 eb e6 ff ff e8 5d 5c 6f ff e8 48 b9 98 ff <0f> 0b e8 41 b9 98 ff 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
RSP: 0018:ffff8881ee7cf4e0 EFLAGS: 00010293
RAX: ffffffff81cb91b8 RBX: 0000000000000001 RCX: ffff8881f32f9f80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff8881ee7cf770 R08: ffffffff81cb7ad4 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000003fff R14: ffff8881eef33000 R15: 0000000000000001
FS:  000055558c00c380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cf5ccf4078 CR3: 00000001eecce000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (64):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/22 21:29 android12-5.4 41adfeb3d639 c6512ef7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/01/28 10:40 android12-5.4 49530c73f82d 18070896 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/21 18:30 android12-5.4 2d5d8240a7cb af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/21 02:53 android12-5.4 2d5d8240a7cb af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/12/26 09:41 android12-5.4 c0585bc7c835 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/07/11 04:07 android12-5.4 6d5c2c1877e5 d47e94ee .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/04/01 17:23 android12-5.4 41adfeb3d639 b8645499 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/04/01 11:17 android12-5.4 41adfeb3d639 36d76a97 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/31 13:15 android12-5.4 41adfeb3d639 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/24 19:46 android12-5.4 41adfeb3d639 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/19 21:37 android12-5.4 41adfeb3d639 e20d7b13 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/19 07:23 android12-5.4 41adfeb3d639 8d0a2921 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/15 21:30 android12-5.4 6b07fcd94a6a e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/12 14:22 android12-5.4 6b07fcd94a6a ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/10 04:35 android12-5.4 6b07fcd94a6a 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/09 02:50 android12-5.4 6b07fcd94a6a 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/03/08 19:11 android12-5.4 6b07fcd94a6a 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/28 09:20 android12-5.4 6b07fcd94a6a 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/17 22:46 android12-5.4 39762b7a60e9 429ea007 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/16 11:29 android12-5.4 39762b7a60e9 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/10 16:27 android12-5.4 cb850525fc3e 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/06 23:06 android12-5.4 cb850525fc3e 8002dd28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/06 23:04 android12-5.4 cb850525fc3e 8002dd28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/03 07:05 android12-5.4 3f2c17e79750 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/03 04:14 android12-5.4 3f2c17e79750 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/03 04:10 android12-5.4 3f2c17e79750 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/02/02 07:44 android12-5.4 3f2c17e79750 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/01/28 10:12 android12-5.4 49530c73f82d 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2025/01/28 10:11 android12-5.4 49530c73f82d 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/06/30 12:36 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/06/30 01:07 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/13 11:07 android12-5.4 51cf29fc2bfc 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/13 07:52 android12-5.4 51cf29fc2bfc 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/13 01:14 android12-5.4 51cf29fc2bfc 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/08 23:06 android12-5.4 51cf29fc2bfc 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/08 23:06 android12-5.4 51cf29fc2bfc 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/08 12:30 android12-5.4 51cf29fc2bfc 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/08 12:30 android12-5.4 51cf29fc2bfc 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/08 12:11 android12-5.4 51cf29fc2bfc 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/08 12:01 android12-5.4 51cf29fc2bfc 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/06 05:40 android12-5.4 51cf29fc2bfc 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/05/06 04:51 android12-5.4 51cf29fc2bfc 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/30 07:02 android12-5.4 2d5d8240a7cb f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/30 07:01 android12-5.4 2d5d8240a7cb f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/30 06:59 android12-5.4 2d5d8240a7cb f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/28 02:20 android12-5.4 2d5d8240a7cb 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/27 05:13 android12-5.4 2d5d8240a7cb 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/04/21 02:28 android12-5.4 2d5d8240a7cb af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2024/01/01 06:24 android12-5.4 c0585bc7c835 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/12/26 09:27 android12-5.4 c0585bc7c835 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/10/03 20:40 android12-5.4 5f1cbd78af59 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/10/03 20:26 android12-5.4 5f1cbd78af59 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/10/03 20:16 android12-5.4 5f1cbd78af59 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/09/03 15:39 android12-5.4 c83e2462239e 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/08/06 18:13 android12-5.4 fed9191809bc 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/07/24 12:24 android12-5.4 14e059a4e07a b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
2023/07/11 03:51 android12-5.4 6d5c2c1877e5 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_trim_fs
* Struck through repros no longer work on HEAD.