syzbot


WARNING in z_erofs_unzip_lz4

Status: auto-closed as invalid on 2022/06/13 16:25
Reported-by: syzbot+4d94197f4a089a55bbb5@syzkaller.appspotmail.com
First crash: 1024d, last: 1024d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in z_erofs_unzip_lz4 (2) erofs C error 2 707d 707d 0/1 upstream: reported C repro on 2022/12/27 23:00

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready
Bluetooth: hci5: command 0x0419 tx timeout
erofs: z_erofs_unzip_lz4, failed to decompress, in[00000000960e2240, 4096] outlen[00000000de057eb4, 4096]
------------[ cut here ]------------
WARNING: CPU: 0 PID: 25430 at drivers/staging/erofs/unzip_lz4.c:244 z_erofs_unzip_lz4.cold+0x44/0xa8 drivers/staging/erofs/unzip_lz4.c:244
IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 25430 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready
device veth0_macvtap entered promiscuous mode
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:z_erofs_unzip_lz4.cold+0x44/0xa8 drivers/staging/erofs/unzip_lz4.c:244
IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready
Code: 74 24 30 4c 8b 7c 24 40 48 8b 5c 24 38 49 89 e9 4d 89 f0 4c 89 f9 48 89 da e8 7c 1e e3 ff 48 c7 c7 20 cc 3f 89 e8 70 1e e3 ff <0f> 0b 41 b8 01 00 00 00 6a 01 49 89 d9 b9 10 00 00 00 41 57 ba 02
device veth1_macvtap entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready
RSP: 0018:ffff88809121ecd0 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff888096c1a000 RCX: 0000000000000000
RDX: 000000000002370b RSI: ffffffff814dff01 RDI: ffffed1012243d8c
RBP: 0000000000001000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8dd5413c R14: ffffffff8dd53be0 R15: 0000000000001000
IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready
 z_erofs_vle_unzip_fast_percpu+0xff/0x530 drivers/staging/erofs/unzip_vle_lz4.c:130
 z_erofs_vle_unzip.isra.0+0x11fb/0x2460 drivers/staging/erofs/unzip_vle.c:960
IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 z_erofs_vle_unzip_all drivers/staging/erofs/unzip_vle.c:1056 [inline]
 z_erofs_submit_and_unzip.isra.0+0x10dc/0x1930 drivers/staging/erofs/unzip_vle.c:1339
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 z_erofs_vle_normalaccess_readpage+0x19d/0x460 drivers/staging/erofs/unzip_vle.c:1357
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 read_mapping_page include/linux/pagemap.h:402 [inline]
 find_target_block_classic drivers/staging/erofs/namei.c:112 [inline]
 erofs_namei+0x1ab/0x1740 drivers/staging/erofs/namei.c:189
 erofs_lookup+0x143/0x500 drivers/staging/erofs/namei.c:232
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready
 __lookup_slow+0x246/0x4a0 fs/namei.c:1672
batman_adv: batadv0: Interface activated: batadv_slave_0
 lookup_slow fs/namei.c:1689 [inline]
 walk_component+0x7ac/0xda0 fs/namei.c:1811
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 lookup_last fs/namei.c:2274 [inline]
 path_lookupat+0x1ff/0x8d0 fs/namei.c:2319
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 user_path include/linux/namei.h:62 [inline]
 do_mount+0x147/0x2f50 fs/namespace.c:2762
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
batman_adv: batadv0: Interface activated: batadv_slave_1
RIP: 0033:0x7f9905a94059
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9904409168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f9905ba6f60 RCX: 00007f9905a94059
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000000
RBP: 00007f9905aee08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000001022ccc R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff0abb7c0f R14: 00007f9904409300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/13 16:24 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report info ci2-linux-4-19 WARNING in z_erofs_unzip_lz4
* Struck through repros no longer work on HEAD.