syzbot


kernel BUG in __es_remove_extent (2)

Status: upstream: reported C repro on 2024/02/17 09:14
Reported-by: syzbot+2a58d88f0fb315c85363@syzkaller.appspotmail.com
First crash: 121d, last: 37d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in __es_remove_extent 1 411d 411d 0/2 auto-obsoleted due to no activity on 2023/08/01 16:52
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/05/11 10:16 8m retest repro android12-5.4 report log
2024/03/02 09:15 6m retest repro android12-5.4 report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/extents_status.c:205!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 355 Comm: syz-executor343 Not tainted 5.4.265-syzkaller-00001-g1b3143b9b166 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:205 [inline]
RIP: 0010:__es_remove_extent+0x1d98/0x1dd0 fs/ext4/extents_status.c:1437
Code: 07 80 c1 03 38 c1 0f 8c 57 f7 ff ff 48 8d bc 24 30 01 00 00 e8 e9 07 d1 ff e9 45 f7 ff ff e8 3f 35 a1 ff 0f 0b e8 38 35 a1 ff <0f> 0b e8 01 ee 77 ff e8 2c 35 a1 ff 0f 0b e8 25 35 a1 ff 0f 0b e8
RSP: 0018:ffff8881dbef6f00 EFLAGS: 00010293
RAX: ffffffff81c31188 RBX: 00000000ffffffff RCX: ffff8881dbf48fc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881dbef7110 R08: ffffffff81c2fe69 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff1103d1942dc
R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000555556b17380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ffeb88da0 CR3: 00000001dbee8000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_es_insert_extent+0x465/0x2d70 fs/ext4/extents_status.c:892
 ext4_map_blocks+0x641/0x1ba0 fs/ext4/inode.c:608
 ext4_getblk+0x112/0x540 fs/ext4/inode.c:985
 ext4_bread+0x89/0x390 fs/ext4/inode.c:1035
 ext4_quota_read+0x180/0x280 fs/ext4/super.c:6187
 v2_read_header fs/quota/quota_v2.c:64 [inline]
 v2_check_quota_file+0xf7/0x490 fs/quota/quota_v2.c:83
 dquot_load_quota_sb+0x6af/0xc00 fs/quota/dquot.c:2479
 vfs_load_quota_inode+0x40b/0x6a0 fs/quota/dquot.c:2523
 ext4_quota_enable fs/ext4/super.c:6066 [inline]
 ext4_enable_quotas+0x5a8/0x940 fs/ext4/super.c:6092
 ext4_fill_super+0x84f0/0x8d90 fs/ext4/super.c:4708
 mount_bdev+0x267/0x370 fs/super.c:1426
 legacy_get_tree+0xdf/0x170 fs/fs_context.c:648
 vfs_get_tree+0x85/0x260 fs/super.c:1556
 do_new_mount+0x292/0x570 fs/namespace.c:2843
 do_mount+0x688/0xe10 fs/namespace.c:3163
 ksys_mount+0xc2/0xf0 fs/namespace.c:3372
 __do_sys_mount fs/namespace.c:3386 [inline]
 __se_sys_mount fs/namespace.c:3383 [inline]
 __x64_sys_mount+0xb1/0xc0 fs/namespace.c:3383
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace aee00b66e4148675 ]---
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:205 [inline]
RIP: 0010:__es_remove_extent+0x1d98/0x1dd0 fs/ext4/extents_status.c:1437
Code: 07 80 c1 03 38 c1 0f 8c 57 f7 ff ff 48 8d bc 24 30 01 00 00 e8 e9 07 d1 ff e9 45 f7 ff ff e8 3f 35 a1 ff 0f 0b e8 38 35 a1 ff <0f> 0b e8 01 ee 77 ff e8 2c 35 a1 ff 0f 0b e8 25 35 a1 ff 0f 0b e8
RSP: 0018:ffff8881dbef6f00 EFLAGS: 00010293
RAX: ffffffff81c31188 RBX: 00000000ffffffff RCX: ffff8881dbf48fc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881dbef7110 R08: ffffffff81c2fe69 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff1103d1942dc
R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000555556b17380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ffeb88da0 CR3: 00000001dbee8000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/17 09:12 android12-5.4 1b3143b9b166 578f7538 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in __es_remove_extent
2024/04/24 04:55 android12-5.4 2d5d8240a7cb 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in __es_remove_extent
* Struck through repros no longer work on HEAD.