syzbot


kernel BUG in __es_tree_search

Status: upstream: reported C repro on 2022/08/28 11:40
Reported-by: syzbot+f2ac73095baff5f85ee9@syzkaller.appspotmail.com
First crash: 816d, last: 816d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
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
upstream kernel BUG in ext4_es_cache_extent ext4 C inconclusive 6 660d 1019d 22/28 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_es_cache_extent ext4 C 16 126d 816d 0/2 auto-obsoleted due to no activity on 2024/10/26 14:37
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
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/03/04 10:32 0m retest repro linux-4.14.y error

Sample crash report:
EXT4-fs (loop0): ext4_check_descriptors: Inode bitmap for group 0 overlaps block group descriptors
EXT4-fs (loop0): orphan cleanup on readonly fs
------------[ cut here ]------------
kernel BUG at fs/ext4/extents_status.c:200!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 7983 Comm: syz-executor207 Not tainted 4.14.291-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
task: ffff888096a40240 task.stack: ffff888093250000
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:200 [inline]
RIP: 0010:__es_tree_search.isra.0+0x199/0x1c0 fs/ext4/extents_status.c:218
RSP: 0018:ffff888093257138 EFLAGS: 00010297
RAX: ffff888096a40240 RBX: 000000002b754e16 RCX: 00000000000038cf
RDX: 0000000000000000 RSI: 000000008e4a46a0 RDI: ffff888097c344ec
RBP: 0000000000000000 R08: ffffffff8b9be178 R09: 00000000000403fe
R10: ffff888096a40b18 R11: ffff888096a40240 R12: ffff888097c344d0
R13: 000000008e4a46a0 R14: dffffc0000000000 R15: 0000ffff8e4a46a0
FS:  0000555556d50300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005595f56d2160 CR3: 00000000b4f53000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_es_cache_extent+0x133/0x460 fs/ext4/extents_status.c:767
 ext4_cache_extents+0x113/0x260 fs/ext4/extents.c:531
 ext4_find_extent+0x820/0xbc0 fs/ext4/extents.c:917
 ext4_ext_map_blocks+0x19a/0x6b10 fs/ext4/extents.c:4324
 ext4_map_blocks+0xb19/0x1730 fs/ext4/inode.c:579
 ext4_getblk+0x314/0x3f0 fs/ext4/inode.c:992
 ext4_bread+0x6c/0x1b0 fs/ext4/inode.c:1042
 ext4_quota_read+0x1e4/0x2a0 fs/ext4/super.c:5855
 v2_read_header+0x6f/0xe0 fs/quota/quota_v2.c:63
 v2_check_quota_file+0x60/0x120 fs/quota/quota_v2.c:82
 vfs_load_quota_inode+0x4e4/0xeb0 fs/quota/dquot.c:2369
 dquot_enable+0x15f/0x1b0 fs/quota/dquot.c:2491
 ext4_quota_enable fs/ext4/super.c:5746 [inline]
 ext4_enable_quotas+0x452/0x6a0 fs/ext4/super.c:5772
 ext4_orphan_cleanup fs/ext4/super.c:2562 [inline]
 ext4_fill_super+0x7cb4/0xb3c0 fs/ext4/super.c:4474
 mount_bdev+0x2b3/0x360 fs/super.c:1134
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2572 [inline]
 do_mount+0xe65/0x2a30 fs/namespace.c:2905
 SYSC_mount fs/namespace.c:3121 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3098
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7efc2c4025da
RSP: 002b:00007ffdff207798 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffdff2077f0 RCX: 00007efc2c4025da
RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007ffdff2077b0
RBP: 00007ffdff2077b0 R08: 00007ffdff2077f0 R09: 0000000800000015
R10: 0000000000000081 R11: 0000000000000206 R12: 0000000000000004
R13: 0000000000000003 R14: 0000000000000003 R15: 000000000000041c
Code: 01 48 05 49 89 c4 eb dd e8 25 e9 c7 ff e9 fb fe ff ff e8 1b e9 c7 ff e9 26 ff ff ff e8 81 e9 c7 ff e9 af fe ff ff e8 67 33 9e ff <0f> 0b e8 70 e9 c7 ff e9 45 ff ff ff e8 f6 e8 c7 ff eb 90 e8 4f 
RIP: ext4_es_end fs/ext4/extents_status.c:200 [inline] RSP: ffff888093257138
RIP: __es_tree_search.isra.0+0x199/0x1c0 fs/ext4/extents_status.c:218 RSP: ffff888093257138
---[ end trace 87d3b71a6bd04acd ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/28 11:40 linux-4.14.y e548869f356f 07177916 .config console log report syz C ci2-linux-4-14 kernel BUG in __es_tree_search
* Struck through repros no longer work on HEAD.