syzbot


kernel BUG in ext4_es_cache_extent

Status: auto-obsoleted due to no activity on 2024/10/26 14:37
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+de7b7cb579b7d89c2b23@syzkaller.appspotmail.com
First crash: 816d, last: 126d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ext4_es_cache_extent ext4 C inconclusive 6 660d 1019d 22/28 fixed on 2023/02/24 13:50
android-5-10 kernel BUG in ext4_es_cache_extent C error 1 816d 816d 0/2 closed as invalid on 2022/09/13 19:49
linux-4.14 kernel BUG in __es_tree_search C error 1 816d 816d 0/1 upstream: reported C repro on 2022/08/28 11:40
linux-4.19 kernel BUG in __es_tree_search C error 2 756d 816d 0/1 upstream: reported C repro on 2022/08/28 11:40
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/09/27 08:28 20m retest repro android12-5.4 OK log
2024/09/11 15:17 29m retest repro android12-5.4 OK log
2024/09/11 15:17 32m retest repro android12-5.4 OK log
2024/08/28 13:06 1h06m retest repro android12-5.4 OK log
2024/07/18 14:22 13m retest repro android12-5.4 report log
2024/07/03 10:42 6m retest repro android12-5.4 report log
2024/07/03 10:42 17m retest repro android12-5.4 report log
2024/06/19 05:02 6m retest repro android12-5.4 report log
2024/05/09 12:20 17m retest repro android12-5.4 report log
2024/04/20 12:08 5m retest repro android12-5.4 report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/extents_status.c:202!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 356 Comm: syz-executor597 Not tainted 5.4.242-syzkaller-00020-g6d5c2c1877e5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:202 [inline]
RIP: 0010:__es_tree_search fs/ext4/extents_status.c:220 [inline]
RIP: 0010:ext4_es_cache_extent+0x4c0/0x640 fs/ext4/extents_status.c:888
Code: d0 ff e9 fe fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 78 fe ff ff 4c 89 f7 e8 ca e0 d0 ff e9 6b fe ff ff e8 a0 26 a1 ff <0f> 0b 4c 89 7c 24 18 65 8b 1d fa 2c 3f 7e 89 d8 c1 e8 06 48 8d 3c
RSP: 0018:ffff8881dc14ee00 EFLAGS: 00010293
RAX: ffffffff81c30420 RBX: 0000000000000000 RCX: ffff8881dc141f80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881dc14ef08 R08: ffffffff81c3018e R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff1103d3998ea
R13: dffffc0000000000 R14: ffff8881e9ccc754 R15: 0000000000000001
FS:  0000555556729300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555d940fffd8 CR3: 00000001dc0cc000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_cache_extents fs/ext4/extents.c:556 [inline]
 ext4_find_extent+0x4e1/0xda0 fs/ext4/extents.c:952
 ext4_ext_map_blocks+0x289/0x7450 fs/ext4/extents.c:4330
 ext4_map_blocks+0x3b1/0x1c40 fs/ext4/inode.c:584
 ext4_getblk+0x112/0x540 fs/ext4/inode.c:995
 ext4_bread+0x89/0x390 fs/ext4/inode.c:1045
 ext4_quota_read+0x180/0x280 fs/ext4/super.c:6179
 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:2397
 vfs_load_quota_inode+0x3cf/0x660 fs/quota/dquot.c:2440
 ext4_quota_enable fs/ext4/super.c:6058 [inline]
 ext4_enable_quotas+0x5a8/0x940 fs/ext4/super.c:6084
 ext4_fill_super+0x84d4/0x8d70 fs/ext4/super.c:4708
 mount_bdev+0x22e/0x340 fs/super.c:1417
 legacy_get_tree+0xdf/0x170 fs/fs_context.c:647
 vfs_get_tree+0x85/0x260 fs/super.c:1547
 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 db034c7eddf68f95 ]---
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:202 [inline]
RIP: 0010:__es_tree_search fs/ext4/extents_status.c:220 [inline]
RIP: 0010:ext4_es_cache_extent+0x4c0/0x640 fs/ext4/extents_status.c:888
Code: d0 ff e9 fe fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 78 fe ff ff 4c 89 f7 e8 ca e0 d0 ff e9 6b fe ff ff e8 a0 26 a1 ff <0f> 0b 4c 89 7c 24 18 65 8b 1d fa 2c 3f 7e 89 d8 c1 e8 06 48 8d 3c
RSP: 0018:ffff8881dc14ee00 EFLAGS: 00010293
RAX: ffffffff81c30420 RBX: 0000000000000000 RCX: ffff8881dc141f80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881dc14ef08 R08: ffffffff81c3018e R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff1103d3998ea
R13: dffffc0000000000 R14: ffff8881e9ccc754 R15: 0000000000000001
FS:  0000555556729300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555d940fffd8 CR3: 00000001dc0cc000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/07 07:52 android12-5.4 6d5c2c1877e5 22ae5830 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2022/08/28 10:56 android12-5.4 f0306959ab7c 07177916 .config strace log report syz C [disk image] [vmlinux] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2024/03/09 05:39 android12-5.4 43a5ead9254d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2024/01/13 11:25 android12-5.4 57a39998c138 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2024/01/13 07:37 android12-5.4 57a39998c138 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2024/01/13 04:48 android12-5.4 57a39998c138 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/11/28 20:37 android12-5.4 2ac128c04e33 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/11/28 08:22 android12-5.4 2ac128c04e33 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/09/28 09:29 android12-5.4 a1b9dbe5628a c2ab1e5d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/07/21 17:40 android12-5.4 14e059a4e07a abdf9bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/07/07 03:19 android12-5.4 6d5c2c1877e5 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/04/13 04:31 android12-5.4 21086923c1e6 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/04/04 01:38 android12-5.4 a6b5274af71b 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2023/02/08 12:51 android12-5.4 6a5ec6cea0cd abbb67b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2022/10/17 21:06 android12-5.4 ff63a5f5cdf6 94744d21 .config console log report info [disk image] [vmlinux] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
2022/08/28 10:35 android12-5.4 f0306959ab7c 07177916 .config console log report info [disk image] [vmlinux] ci2-android-5-4-kasan kernel BUG in ext4_es_cache_extent
* Struck through repros no longer work on HEAD.