Hello,
syzbot found the following issue on:
HEAD commit: dc151d2e3144 Revert "batman-adv: stop tp_meter sessions du..
git tree: android13-5.15-lts
console output:
https://syzkaller.appspot.com/x/log.txt?x=14dd6746580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=43676e801f1929a9
dashboard link:
https://syzkaller.appspot.com/bug?extid=e4464ac9fc16c4743468
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=16be8ab9580000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=14797c32580000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/d3a56ba2b6dd/disk-dc151d2e.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/8b6846da446f/vmlinux-dc151d2e.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/1628ef9bb65b/bzImage-dc151d2e.xz
mounted in repro:
https://storage.googleapis.com/syzbot-assets/e07fd8033558/mount_0.gz
fsck result: failed (log:
https://syzkaller.appspot.com/x/fsck.log?x=113c12b9580000)
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e4464a...@syzkaller.appspotmail.com
erofs: (device loop2): z_erofs_readahead: readahead error at page 5 @ nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 4 @ nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 3 @ nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 2 @ nid 89
erofs: (device loop2): z_erofs_get_extent_compressedlen: cannot found CBLKCNT @ lcn 1 of nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 1 @ nid 89
BUG: scheduling while atomic: syz.2.17/373/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff82219a4c>] kmap_atomic include/linux/highmem-internal.h:196 [inline]
[<ffffffff82219a4c>] z_erofs_reload_indexes+0x1cc/0x410 fs/erofs/zmap.c:132
CPU: 1 PID: 373 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
<TASK>
__dump_stack+0x21/0x30 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x20 lib/dump_stack.c:113
__schedule_bug+0x180/0x230 kernel/sched/core.c:5733
schedule_debug kernel/sched/core.c:5760 [inline]
__schedule+0xc21/0x14a0 kernel/sched/core.c:6428
schedule+0x11e/0x1e0 kernel/sched/core.c:6621
io_schedule+0x84/0xe0 kernel/sched/core.c:8667
wait_on_page_bit_common+0x6f8/0x9d0 mm/filemap.c:1366
put_and_wait_on_page_locked mm/filemap.c:1457 [inline]
filemap_update_page mm/filemap.c:2461 [inline]
filemap_get_pages mm/filemap.c:2594 [inline]
filemap_read+0xd8d/0x21e0 mm/filemap.c:2656
generic_file_read_iter+0xac/0x420 mm/filemap.c:2816
call_read_iter include/linux/fs.h:2206 [inline]
new_sync_read fs/read_write.c:404 [inline]
vfs_read+0x6c0/0xc20 fs/read_write.c:485
ksys_read+0x14a/0x260 fs/read_write.c:623
__do_sys_read fs/read_write.c:633 [inline]
__se_sys_read fs/read_write.c:631 [inline]
__x64_sys_read+0x7b/0x90 fs/read_write.c:631
x64_sys_call+0x96d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe78d248e99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff0f0c22e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fe78d4d0fa0 RCX: 00007fe78d248e99
RDX: 0000000000002020 RSI: 0000200000000940 RDI: 0000000000000004
RBP: 00007fe78d2deeaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe78d4d0fac R14: 00007fe78d4d0fa0 R15: 00007fe78d4d0fa0
</TASK>
erofs: (device loop2): z_erofs_get_extent_compressedlen: cannot found CBLKCNT @ lcn 1 of nid 89
BUG: scheduling while atomic: syz.2.17/373/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff82219b8c>] kmap_atomic include/linux/highmem-internal.h:196 [inline]
[<ffffffff82219b8c>] z_erofs_reload_indexes+0x30c/0x410 fs/erofs/zmap.c:148
CPU: 1 PID: 373 Comm: syz.2.17 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
<TASK>
__dump_stack+0x21/0x30 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x20 lib/dump_stack.c:113
__schedule_bug+0x180/0x230 kernel/sched/core.c:5733
schedule_debug kernel/sched/core.c:5760 [inline]
__schedule+0xc21/0x14a0 kernel/sched/core.c:6428
schedule+0x11e/0x1e0 kernel/sched/core.c:6621
schedule_timeout+0xba/0x340 kernel/time/timer.c:1898
io_schedule_timeout+0x8d/0x100 kernel/sched/core.c:8655
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common_io+0x16f/0x2e0 kernel/sched/completion.c:123
wait_for_completion_io+0x13/0x20 kernel/sched/completion.c:171
z_erofs_runqueue+0x115d/0x11f0 fs/erofs/zdata.c:1514
z_erofs_readpage+0x25d/0x4d0 fs/erofs/zdata.c:1604
filemap_read_page+0xd3/0x330 mm/filemap.c:2401
filemap_update_page mm/filemap.c:2481 [inline]
filemap_get_pages mm/filemap.c:2594 [inline]
filemap_read+0x142e/0x21e0 mm/filemap.c:2656
generic_file_read_iter+0xac/0x420 mm/filemap.c:2816
call_read_iter include/linux/fs.h:2206 [inline]
new_sync_read fs/read_write.c:404 [inline]
vfs_read+0x6c0/0xc20 fs/read_write.c:485
ksys_read+0x14a/0x260 fs/read_write.c:623
__do_sys_read fs/read_write.c:633 [inline]
__se_sys_read fs/read_write.c:631 [inline]
__x64_sys_read+0x7b/0x90 fs/read_write.c:631
x64_sys_call+0x96d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe78d248e99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff0f0c22e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fe78d4d0fa0 RCX: 00007fe78d248e99
RDX: 0000000000002020 RSI: 0000200000000940 RDI: 0000000000000004
RBP: 00007fe78d2deeaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe78d4d0fac R14: 00007fe78d4d0fa0 R15: 00007fe78d4d0fa0
</TASK>
---
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