syzbot


kernel BUG in __es_remove_extent

Status: auto-obsoleted due to no activity on 2023/08/01 16:52
First crash: 569d, last: 569d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in __es_remove_extent (2) C 2 125d 280d 2/2 fixed on 2024/07/23 01:34

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/extents_status.c:202!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10453 Comm: syz-executor.0 Not tainted 5.4.233-syzkaller-00022-gcf4e000017b8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:202 [inline]
RIP: 0010:__es_remove_extent+0x2064/0x2080 fs/ext4/extents_status.c:1371
Code: 00 e8 20 45 d5 ff e9 65 f8 ff ff e8 36 c1 a7 ff 0f 0b e8 2f c1 a7 ff 0f 0b e8 28 c1 a7 ff 0f 0b e8 c1 9e 7f ff e8 1c c1 a7 ff <0f> 0b e8 15 c1 a7 ff 0f 0b e8 0e c1 a7 ff 0f 0b e8 07 c1 a7 ff 0f
RSP: 0000:ffff8881de4c6ee0 EFLAGS: 00010283
RAX: ffffffff81bb7d44 RBX: 00000000ffffffff RCX: 0000000000040000
RDX: ffffc90000d4a000 RSI: 000000000000637e RDI: 000000000000637f
RBP: ffff8881de4c7150 R08: ffffffff81bb6d49 R09: 0000000000000016
R10: ffffffff84600000 R11: dffffc0000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f29e9b6e700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd2d62bce9b CR3: 00000001e5546000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_es_insert_extent+0x28c/0x2c30 fs/ext4/extents_status.c:839
 ext4_map_blocks+0x659/0x1c40 fs/ext4/inode.c:608
 ext4_getblk+0x112/0x540 fs/ext4/inode.c:995
 ext4_bread+0x89/0x390 fs/ext4/inode.c:1045
 ext4_quota_read+0x192/0x280 fs/ext4/super.c:6181
 v2_read_header fs/quota/quota_v2.c:64 [inline]
 v2_check_quota_file+0xf0/0x2c0 fs/quota/quota_v2.c:83
 dquot_load_quota_sb+0x4f4/0xb40 fs/quota/dquot.c:2397
 vfs_load_quota_inode+0x3c0/0x580 fs/quota/dquot.c:2440
 ext4_quota_enable fs/ext4/super.c:6060 [inline]
 ext4_enable_quotas+0x5a8/0x940 fs/ext4/super.c:6086
 ext4_fill_super+0x84a1/0x8d40 fs/ext4/super.c:4710
 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/0xdd0 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 4d06d5fcf162336b ]---
RIP: 0010:ext4_es_end fs/ext4/extents_status.c:202 [inline]
RIP: 0010:__es_remove_extent+0x2064/0x2080 fs/ext4/extents_status.c:1371
Code: 00 e8 20 45 d5 ff e9 65 f8 ff ff e8 36 c1 a7 ff 0f 0b e8 2f c1 a7 ff 0f 0b e8 28 c1 a7 ff 0f 0b e8 c1 9e 7f ff e8 1c c1 a7 ff <0f> 0b e8 15 c1 a7 ff 0f 0b e8 0e c1 a7 ff 0f 0b e8 07 c1 a7 ff 0f
RSP: 0000:ffff8881de4c6ee0 EFLAGS: 00010283
RAX: ffffffff81bb7d44 RBX: 00000000ffffffff RCX: 0000000000040000
RDX: ffffc90000d4a000 RSI: 000000000000637e RDI: 000000000000637f
RBP: ffff8881de4c7150 R08: ffffffff81bb6d49 R09: 0000000000000016
R10: ffffffff84600000 R11: dffffc0000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f29e9b6e700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd2d62bce9b CR3: 00000001e5546000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/03 16:50 android12-5.4 cf4e000017b8 b5918830 .config console log report info ci2-android-5-4-kasan kernel BUG in __es_remove_extent
* Struck through repros no longer work on HEAD.