From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 507F6C433F5 for ; Sun, 24 Oct 2021 02:28:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2EA3360EFE for ; Sun, 24 Oct 2021 02:28:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231564AbhJXC1l (ORCPT ); Sat, 23 Oct 2021 22:27:41 -0400 Received: from mail-io1-f71.google.com ([209.85.166.71]:48891 "EHLO mail-io1-f71.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbhJXC1k (ORCPT ); Sat, 23 Oct 2021 22:27:40 -0400 Received: by mail-io1-f71.google.com with SMTP id c10-20020a5e8f0a000000b005ddce46973cso6298029iok.15 for ; Sat, 23 Oct 2021 19:25:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=7QR9akAHbSinoGJpOVe+XCc1PKKxjmber8Obdn+Lueg=; b=npXp1btHBI3PYptiJ+eYezXRmLrRznxaJP6LXGyvaMLpKDf6l+tCLbWSJrf9aStRmO G6fKLCcFhVDkviG66oYWUELy0SNXe8dTnYOy5xAV7X1zRlNhC1oS1pOT5HTv2P2alOnO f9+9BVzkfoTC+7zbohRsupDzIknwfLJ+yEGFxOsZ1UG6eFrNfMuXdMiWYpKWXHYDcgXZ DjSUgjNXIzkKWA+aFAbqw3g8ncUx9/152bZofSnwXFMWY08bsrYKLk8TPIOcwrX9DFKA mXw58en4WtaqnP0JNK1A9OuNvuGA3yMdNPQgjra1rxKIBy4YdIPF3rjyxq0IzAHtZ3hl hyjw== X-Gm-Message-State: AOAM531gasTrBUoj4PDba0380gBRMjvAXMC3PRx0o6jehqguaFWJS7T5 rhzmnU8nYO2BZ30q5PmhF0VUJTDeRsYF6qljvVb6u9zpcDjb X-Google-Smtp-Source: ABdhPJyJEy3lsFOs4MNeH/Dbm+ITEfcGDVsFhnncp7OjZMfwm4TPo/NM2QBEgmCFQwZ888HOFEvmOC6ae2+Ztzl/Am/T9+jgY3RO MIME-Version: 1.0 X-Received: by 2002:a05:6602:2b8e:: with SMTP id r14mr5794228iov.98.1635042320405; Sat, 23 Oct 2021 19:25:20 -0700 (PDT) Date: Sat, 23 Oct 2021 19:25:20 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b3586105cf0ff45e@google.com> Subject: [syzbot] WARNING in z_erofs_lz4_decompress From: syzbot To: chao@kernel.org, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, xiang@kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 60e8840126bd Add linux-next specific files for 20211018 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=125932af300000 kernel config: https://syzkaller.appspot.com/x/.config?x=4bd44cafcda7632e dashboard link: https://syzkaller.appspot.com/bug?extid=d8aaffc3719597e8cfb4 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d8aaffc3719597e8cfb4@syzkaller.appspotmail.com erofs: (device loop4): z_erofs_lz4_decompress_mem: failed to decompress -4100 in[4096, 0] out[9000] ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9895 at fs/erofs/decompressor.c:230 z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:227 [inline] WARNING: CPU: 1 PID: 9895 at fs/erofs/decompressor.c:230 z_erofs_lz4_decompress+0x841/0x1400 fs/erofs/decompressor.c:289 Modules linked in: CPU: 1 PID: 9895 Comm: kworker/u5:3 Not tainted 5.15.0-rc5-next-20211018-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: erofs_unzipd z_erofs_decompressqueue_work RIP: 0010:z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:230 [inline] RIP: 0010:z_erofs_lz4_decompress+0x841/0x1400 fs/erofs/decompressor.c:289 Code: e9 03 80 3c 11 00 0f 85 8c 0a 00 00 41 56 48 8b 7d 00 45 89 e9 89 d9 48 c7 c2 20 eb fb 89 48 c7 c6 40 ed fb 89 e8 ee 5d 85 05 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 08 5f 48 89 ca 48 RSP: 0018:ffffc90001b3f718 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffffffffeffc RCX: 0000000000000000 RDX: ffff8880795b3a00 RSI: ffffffff815ef308 RDI: fffff52000367ed3 RBP: ffffc90001b3f858 R08: 0000000000000063 R09: 0000000000000000 R10: ffffffff815e90de R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000002328 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef25000 CR3: 000000002b3f7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: z_erofs_decompress_pcluster.isra.0+0x1389/0x2450 fs/erofs/zdata.c:977 z_erofs_decompress_queue fs/erofs/zdata.c:1055 [inline] z_erofs_decompressqueue_work+0xe0/0x170 fs/erofs/zdata.c:1066 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 --- 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 syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.