Hello,
syzbot found the following issue on:
HEAD commit: f0306959ab7c ANDROID: ABI: Update symbols for unisoc
git tree: android12-5.4
console output:
https://syzkaller.appspot.com/x/log.txt?x=1647901b080000
kernel config:
https://syzkaller.appspot.com/x/.config?x=d60ce76287fc97c0
dashboard link:
https://syzkaller.appspot.com/bug?extid=de7b7cb579b7d89c2b23
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/8d8a5d874344/disk-f0306959.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/1f386f3f9de8/vmlinux-f0306959.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+de7b7c...@syzkaller.appspotmail.com
EXT4-fs (loop5): ext4_check_descriptors: Inode bitmap for group 0 overlaps block group descriptors
EXT4-fs (loop5): orphan cleanup on readonly fs
EXT4-fs error (device loop5): ext4_quota_enable:6026: inode #5: comm syz-executor.5: casefold flag without casefold feature
------------[ cut here ]------------
kernel BUG at fs/ext4/extents_status.c:202!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 385 Comm: syz-executor.5 Not tainted 5.4.197-syzkaller-00015-gf0306959ab7c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
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+0x3dc/0x530 fs/ext4/extents_status.c:888
Code: d6 ff e9 e7 fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 09 ff ff ff 4c 89 ef e8 ee ab d6 ff e9 fc fe ff ff e8 b4 42 aa ff <0f> 0b 65 8b 1d 73 21 4c 7e 89 d8 c1 e8 06 48 8d 3c c5 a0 c3 e6 85
RSP: 0018:ffff8881afe47508 EFLAGS: 00010246
RAX: ffffffff81b611bc RBX: 000000002b754e16 RCX: 0000000000040000
RDX: ffffc90000144000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 00000000e7fdc588 R08: ffffffff81b60f98 R09: ffffed1035fc8e9a
R10: ffffed1035fc8e9a R11: 1ffff11035fc8e99 R12: ffff8881e7c43b60
R13: ffff8881e7c43b7c R14: 1ffff1103cf8876f R15: 0000000000000000
FS: 00007f9072971700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f005eac4000 CR3: 00000001f54cf000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ext4_cache_extents fs/ext4/extents.c:557 [inline]
ext4_find_extent+0x5db/0xdc0 fs/ext4/extents.c:948
ext4_ext_map_blocks+0x1b6/0x3be0 fs/ext4/extents.c:4326
ext4_map_blocks+0x329/0x1a30 fs/ext4/inode.c:582
ext4_getblk+0xb6/0x460 fs/ext4/inode.c:993
ext4_bread+0x48/0x320 fs/ext4/inode.c:1043
ext4_quota_read+0x199/0x290 fs/ext4/super.c:6155
v2_read_header fs/quota/quota_v2.c:64 [inline]
v2_check_quota_file+0x9e/0x240 fs/quota/quota_v2.c:83
vfs_load_quota_inode+0x66b/0xaa0 fs/quota/dquot.c:2381
ext4_quota_enable fs/ext4/super.c:6035 [inline]
ext4_enable_quotas+0x277/0x8a0 fs/ext4/super.c:6061
ext4_orphan_cleanup+0x2d5/0xcd0 fs/ext4/super.c:2754
ext4_fill_super+0x80e7/0x88c0 fs/ext4/super.c:4713
mount_bdev+0x22d/0x340 fs/super.c:1417
legacy_get_tree+0xde/0x170 fs/fs_context.c:647
vfs_get_tree+0x85/0x260 fs/super.c:1547
do_new_mount+0x23a/0x500 fs/namespace.c:2843
do_mount+0x5e2/0xcd0 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+0xcb/0x1c0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f90737fc7aa
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f9072970f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000540 RCX: 00007f90737fc7aa
RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007f9072970fe0
RBP: 00007f9072971020 R08: 00007f9072971020 R09: 0000000020000000
R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000040 R14: 00007f9072970fe0 R15: 0000000020000740
Modules linked in:
---[ end trace c463adcd85d7093a ]---
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+0x3dc/0x530 fs/ext4/extents_status.c:888
Code: d6 ff e9 e7 fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 09 ff ff ff 4c 89 ef e8 ee ab d6 ff e9 fc fe ff ff e8 b4 42 aa ff <0f> 0b 65 8b 1d 73 21 4c 7e 89 d8 c1 e8 06 48 8d 3c c5 a0 c3 e6 85
RSP: 0018:ffff8881afe47508 EFLAGS: 00010246
RAX: ffffffff81b611bc RBX: 000000002b754e16 RCX: 0000000000040000
RDX: ffffc90000144000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 00000000e7fdc588 R08: ffffffff81b60f98 R09: ffffed1035fc8e9a
R10: ffffed1035fc8e9a R11: 1ffff11035fc8e99 R12: ffff8881e7c43b60
R13: ffff8881e7c43b7c R14: 1ffff1103cf8876f R15: 0000000000000000
FS: 00007f9072971700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f005eac4000 CR3: 00000001f54cf000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.