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: 499d, last: 5d21h
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 414d 483d 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
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
2024/08/05 15:58 44m retest repro android12-5.4 report log
2024/08/05 15:58 44m retest repro android12-5.4 report log
2024/06/24 23:41 13m retest repro android12-5.4 report log
2024/06/10 12:40 35m retest repro android12-5.4 report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:2984!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 355 Comm: syz-executor399 Not tainted 5.4.268-syzkaller-00003-g2d5d8240a7cb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline]
RIP: 0010:ext4_trim_fs+0x1e69/0x1e80 fs/ext4/mballoc.c:5371
Code: 80 e1 07 80 c1 03 38 c1 0f 8c 40 e7 ff ff 48 8d bc 24 f0 01 00 00 e8 76 c4 c8 ff e9 2e e7 ff ff e8 bc a8 6f ff e8 87 f0 98 ff <0f> 0b e8 80 f0 98 ff 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
RSP: 0018:ffff8881dc7e7500 EFLAGS: 00010293
RAX: ffffffff81cb5699 RBX: 0000000000000001 RCX: ffff8881dc431f80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000050186
RBP: ffff8881dc7e7770 R08: ffffffff81cb4014 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff8881dc15e000 R15: 0000000000050186
FS:  0000555555fa8380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002010007f CR3: 00000001dc61c000 CR4: 00000000003406b0
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
Modules linked in:
---[ end trace 4763ee4d1b672c26 ]---
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline]
RIP: 0010:ext4_trim_fs+0x1e69/0x1e80 fs/ext4/mballoc.c:5371
Code: 80 e1 07 80 c1 03 38 c1 0f 8c 40 e7 ff ff 48 8d bc 24 f0 01 00 00 e8 76 c4 c8 ff e9 2e e7 ff ff e8 bc a8 6f ff e8 87 f0 98 ff <0f> 0b e8 80 f0 98 ff 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
RSP: 0018:ffff8881dc7e7500 EFLAGS: 00010293
RAX: ffffffff81cb5699 RBX: 0000000000000001 RCX: ffff8881dc431f80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000050186
RBP: ffff8881dc7e7770 R08: ffffffff81cb4014 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff8881dc15e000 R15: 0000000000050186
FS:  0000555555fa8380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002010007f CR3: 00000001dc61c000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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.