syzbot


invalid opcode in __traceiter_ext4_ext_remove_space_done

Status: premoderation: reported on 2025/05/16 02:41
Reported-by: syzbot+6853b7972c69273fcdc8@syzkaller.appspotmail.com
First crash: 52d, last: 52d

Sample crash report:
Quota error (device loop1): do_check_range: Getting block 196613 out of range 1-5
Quota error (device loop1): qtree_read_dquot: Can't read quota structure for id 0
EXT4-fs error (device loop1): ext4_acquire_dquot:6789: comm syz.1.1168: Failed to acquire dquot type 1
CFI failure at __traceiter_ext4_ext_remove_space_done+0x9e/0x100 include/trace/events/ext4.h:2089 (target: tp_stub_func+0x0/0x10; expected type: 0x6e68186d)
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5087 Comm: syz.1.1168 Not tainted 6.1.134-syzkaller-00015-g218e2bd24587 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:__traceiter_ext4_ext_remove_space_done+0x9e/0x100 include/trace/events/ext4.h:2089
Code: 05 e8 96 19 c3 ff 49 8b 7e 08 48 8b 75 c0 8b 55 d4 8b 4d d0 44 8b 45 cc 4c 8b 4d b8 41 54 41 ba 93 e7 97 91 45 03 55 fc 74 02 <0f> 0b 41 ff d5 48 83 c4 08 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80
RSP: 0018:ffffc90000b973d8 EFLAGS: 00010a07
RAX: 1ffff110228caa93 RBX: ffff888114655490 RCX: 00000000fffffffe
RDX: 0000000000000001 RSI: ffff888100607980 RDI: ffffc90000bfb000
RBP: ffffc90000b97428 R08: 0000000000000000 R09: ffffc90000b97660
R10: 0000000036d84e9f R11: 1ffffffff0ee43fd R12: 0000000000000001
R13: ffffffff81710320 R14: ffff888114655490 R15: dffffc0000000000
FS:  00007f0203dff6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc777a70000 CR3: 000000013bd24000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 trace_ext4_ext_remove_space_done include/trace/events/ext4.h:2089 [inline]
 ext4_ext_remove_space+0x3df5/0x3fb0 fs/ext4/extents.c:3012
 ext4_ext_truncate+0x200/0x320 fs/ext4/extents.c:4469
 ext4_truncate+0x9a6/0xf90 fs/ext4/inode.c:4290
 ext4_process_orphan+0x1d9/0x320 fs/ext4/orphan.c:339
 ext4_orphan_cleanup+0xb02/0x1210 fs/ext4/orphan.c:474
 __ext4_fill_super fs/ext4/super.c:5510 [inline]
 ext4_fill_super+0x73ad/0x78f0 fs/ext4/super.c:5641
 get_tree_bdev+0x444/0x680 fs/super.c:1368
 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5671
 vfs_get_tree+0x9a/0x270 fs/super.c:1575
 do_new_mount+0x25a/0xa20 fs/namespace.c:3056
 path_mount+0x675/0x1010 fs/namespace.c:3386
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount+0x318/0x380 fs/namespace.c:3584
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3584
 x64_sys_call+0x65d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0203f9010a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0203dfee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f0203dfeef0 RCX: 00007f0203f9010a
RDX: 0000200000000080 RSI: 00002000000001c0 RDI: 00007f0203dfeeb0
RBP: 0000200000000080 R08: 00007f0203dfeef0 R09: 0000000000000041
R10: 0000000000000041 R11: 0000000000000246 R12: 00002000000001c0
R13: 00007f0203dfeeb0 R14: 000000000000050a R15: 0000200000000940
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__traceiter_ext4_ext_remove_space_done+0x9e/0x100 include/trace/events/ext4.h:2089
Code: 05 e8 96 19 c3 ff 49 8b 7e 08 48 8b 75 c0 8b 55 d4 8b 4d d0 44 8b 45 cc 4c 8b 4d b8 41 54 41 ba 93 e7 97 91 45 03 55 fc 74 02 <0f> 0b 41 ff d5 48 83 c4 08 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80
RSP: 0018:ffffc90000b973d8 EFLAGS: 00010a07
RAX: 1ffff110228caa93 RBX: ffff888114655490 RCX: 00000000fffffffe
RDX: 0000000000000001 RSI: ffff888100607980 RDI: ffffc90000bfb000
RBP: ffffc90000b97428 R08: 0000000000000000 R09: ffffc90000b97660
R10: 0000000036d84e9f R11: 1ffffffff0ee43fd R12: 0000000000000001
R13: ffffffff81710320 R14: ffff888114655490 R15: dffffc0000000000
FS:  00007f0203dff6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc777a70000 CR3: 000000013bd24000 CR4: 00000000003506a0
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
2025/05/16 02:40 android14-6.1 218e2bd24587 cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_ext4_ext_remove_space_done
* Struck through repros no longer work on HEAD.