Hello,
syzbot found the following issue on:
HEAD commit: 44db4837f75e ANDROID: Update the ABI symbol list
git tree: android14-6.1
console+strace:
https://syzkaller.appspot.com/x/log.txt?x=13d41fa0580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=686f10664ad3cd36
dashboard link:
https://syzkaller.appspot.com/bug?extid=3aa81381a13faa056f88
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=11cf7a54580000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=15018664580000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/3a2d269ac638/disk-44db4837.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/5edd296838cd/vmlinux-44db4837.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/7e63d0601130/bzImage-44db4837.xz
mounted in repro #1:
https://storage.googleapis.com/syzbot-assets/f0e999feb906/mount_0.gz
fsck result: OK (log:
https://syzkaller.appspot.com/x/fsck.log?x=11018664580000)
mounted in repro #2:
https://storage.googleapis.com/syzbot-assets/3d8af95caf07/mount_2.gz
fsck result: OK (log:
https://syzkaller.appspot.com/x/fsck.log?x=1076d4b7980000)
mounted in repro #3:
https://storage.googleapis.com/syzbot-assets/5df3afeedf24/mount_3.gz
fsck result: OK (log:
https://syzkaller.appspot.com/x/fsck.log?x=15d41fa0580000)
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+3aa813...@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at fs/ext4/mballoc.c:1933!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 295 Comm: syz-executor619 Not tainted 6.1.128-syzkaller-00002-g44db4837f75e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:mb_mark_used+0x1607/0x1620 fs/ext4/mballoc.c:1933
Code: 0f 0b e8 5c 27 7c ff 0f 0b e8 55 27 7c ff 0f 0b e8 4e 27 7c ff 0f 0b e8 47 27 7c ff 0f 0b e8 40 27 7c ff 0f 0b e8 39 27 7c ff <0f> 0b e8 32 27 7c ff 0f 0b e8 2b 27 7c ff 0f 0b 66 0f 1f 84 00 00
RSP: 0018:ffffc90000e57488 EFLAGS: 00010293
RAX: ffffffff81f96da7 RBX: 0000000000008000 RCX: ffff888110e2bcc0
RDX: 0000000000000000 RSI: ffffffff80000000 RDI: 0000000000008000
RBP: ffffc90000e57550 R08: ffffffff81f9588c R09: ffffed1021365a01
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888109b28000
R13: ffffffff80000000 R14: 000000007ffffff4 R15: ffffc90000e57660
FS: 0000555588f9c380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000015000 CR3: 00000001108e9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ext4_trim_extent fs/ext4/mballoc.c:6446 [inline]
ext4_try_to_trim_range+0x6a6/0x1180 fs/ext4/mballoc.c:6506
ext4_trim_all_free fs/ext4/mballoc.c:6568 [inline]
ext4_trim_fs+0xd51/0x1650 fs/ext4/mballoc.c:6659
__ext4_ioctl fs/ext4/ioctl.c:1491 [inline]
ext4_ioctl+0x2720/0x5900 fs/ext4/ioctl.c:1614
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x114/0x190 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x98/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd302ff6ef9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ffd3ed70518 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00004000000001c0 RCX: 00007fd302ff6ef9
RDX: 0000400000000b40 RSI: 00000000c0185879 RDI: 0000000000000006
RBP: 0000000000000073 R08: 00007fd303070260 R09: 00007fd303070260
R10: 00007fd303070260 R11: 0000000000000246 R12: 0000000000000073
R13: 00004000000004c0 R14: 0000000000000001 R15: 0000000000000001
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:mb_mark_used+0x1607/0x1620 fs/ext4/mballoc.c:1933
Code: 0f 0b e8 5c 27 7c ff 0f 0b e8 55 27 7c ff 0f 0b e8 4e 27 7c ff 0f 0b e8 47 27 7c ff 0f 0b e8 40 27 7c ff 0f 0b e8 39 27 7c ff <0f> 0b e8 32 27 7c ff 0f 0b e8 2b 27 7c ff 0f 0b 66 0f 1f 84 00 00
RSP: 0018:ffffc90000e57488 EFLAGS: 00010293
RAX: ffffffff81f96da7 RBX: 0000000000008000 RCX: ffff888110e2bcc0
RDX: 0000000000000000 RSI: ffffffff80000000 RDI: 0000000000008000
RBP: ffffc90000e57550 R08: ffffffff81f9588c R09: ffffed1021365a01
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888109b28000
R13: ffffffff80000000 R14: 000000007ffffff4 R15: ffffc90000e57660
FS: 0000555588f9c380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000015000 CR3: 00000001108e9000 CR4: 00000000003506b0
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.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup