Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1002808rwb; Thu, 15 Dec 2022 05:24:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6KPQqU9uUNeYWCt2mchUNpBlcs4GOZVvG6Y3fsqy6NUH1q6HKBWoUXDuFSdYwkjbziodj1 X-Received: by 2002:a17:906:4e8e:b0:7c1:458b:a946 with SMTP id v14-20020a1709064e8e00b007c1458ba946mr20145249eju.0.1671110663933; Thu, 15 Dec 2022 05:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671110663; cv=none; d=google.com; s=arc-20160816; b=qnSryanH4vYVB2XC2c+69eYa/xcXoRZU+ycc36tqw7/htzJdWDxCRk+PNqKdycEZmO sQ6f/Xv3FCsN/o6hvBJeFOOsbfWK4+LFVof06gtnTGCobWwryKGfBoKF1efT3H+KZj5j 4WgaGrLAnICN2R8pMXdVbt2p0N8SLY+WtVWxTAPPrCccv4iO0T+I2SmT/58ImmXyLr/8 CWdmMQm/lJAfJLb1Uh92McCquM+9llK2qaWjkAAVWubXHkXAiOeZQB/mQZIMRJke+sxK n+IQbVZwa0Qb1itwn8mU04w0HRKqTxXUqOutM6ASS40ANY9VyQgyo/4Go6p+oX0bl/9/ 0qFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=jwYH3ujKbU1Du63Snr0pMmTST6dRtu8bysSgCO116YY=; b=ALee6XqnsiIwV7ec7LGFNRktYZ/znrvf27HV5V1U99aOn8pGE7vEwslmhzRWd4R21A DL7UBh5GHyIgC+7zvIF2T1AR+YCfu9G1BGBT20lgbyfJRW3Vvjqh+TtkStUfoyWZjeHs 53TD6Myqu5JLdSjD041K0AfBq6gHNBn8j91/fN72iTFM5r1Z7a+Ft4f5SKDeRgp/EQU1 JY0JB+Wbt3aWkpf/TwVsCYclM/xh6gb07sN+yOpuRAcPqpzpI4LTHY2daY0Pu2nz+Y5k ABHeUvfZ9sgMxI9o1nvR9cPyog8S9IM7uzvcPj9SZvL+qiW4mUY2dMbFzhoLb4mBdFa0 rJlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eE7Ak6jK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a056402255100b004702a575c11si8378419edb.197.2022.12.15.05.24.04; Thu, 15 Dec 2022 05:24:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eE7Ak6jK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbiLOM6R (ORCPT + 69 others); Thu, 15 Dec 2022 07:58:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbiLOM6O (ORCPT ); Thu, 15 Dec 2022 07:58:14 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90EC1F019 for ; Thu, 15 Dec 2022 04:58:13 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so1758307wms.2 for ; Thu, 15 Dec 2022 04:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=jwYH3ujKbU1Du63Snr0pMmTST6dRtu8bysSgCO116YY=; b=eE7Ak6jKbiwDMWCYFiVygnx51rea3oQHieIRkFnhtDwwYfp/LsMkHbhtRPZVK6aISa uLwjgtpouvOwWtkNrZfMvShhUFEJfF1bv4xpC0hJv4MDH/fHgic41HvZGPa+7djniI9y ABoLhXEYzoqliCHvnq0Vy+Cy3hwFMZA2QKrOPMr7KaqF36XjL6pQ0Oqds4h7B1vbn8y0 q2C/+aSFf52Ou1LZx+f/2gtGmo9RFVgDoYxGi8Y7pRj2F+PMeRV0TltprCgf6er47WSZ Gr5+2C8x+i0MxlhSjpYY5Snw0WyA8LIBddTl6h0N6t8JtnTU+lgUiZzAs7aVE0DEkQNu 7QsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=jwYH3ujKbU1Du63Snr0pMmTST6dRtu8bysSgCO116YY=; b=eLhX3f+EmSkMmXJ+bBYQu5kRUjp/QKDFwPaktU4obNZCAK4frAjy/BP6knMHMo01kv BV0OVrYUZ08amLDC3x486nVdXKohTND0yAfQObV2JhMoJCplVG59BTyoz7IhhJMLtans 2ye/Lf2ybEy/bJIbKgB2ViGnuoYmNxvCvXshHfSv0WW15pYxxceFrtE8ijChh1NPr3vs 7Ek/472yg3t1sziDti+Bs3V+r8Sx6/urAXtr3xK0k1XJQAfGY7SMYdVITEgp0VBY8F0f 5a8jqFwaXJHtKwRbZx79GsdTJOu9Z/tEPc+LFoVSrE/xZqSwoExg0drXJgEPfs1kwyIk Xu3w== X-Gm-Message-State: ANoB5pkykxHzFDfjRSlPtSzAJXaKsYbLgI0bYI+xe5PH2qIOwGYqfG4I ASl2ZtWxoArSawpc54vdRuemAA== X-Received: by 2002:a05:600c:3b84:b0:3cf:8762:22c2 with SMTP id n4-20020a05600c3b8400b003cf876222c2mr22284442wms.38.1671109092141; Thu, 15 Dec 2022 04:58:12 -0800 (PST) Received: from [192.168.2.104] ([79.115.63.55]) by smtp.gmail.com with ESMTPSA id q11-20020a7bce8b000000b003d23a3b783bsm5852026wmj.10.2022.12.15.04.58.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 04:58:11 -0800 (PST) Message-ID: <17c7a0fb-9dc3-6197-358b-894aeb8ee662@linaro.org> Date: Thu, 15 Dec 2022 14:58:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US To: linux-erofs@lists.ozlabs.org, xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com, jefflexu@linux.alibaba.com Cc: joneslee@google.com, linux-kernel@vger.kernel.org From: Tudor Ambarus Subject: BUG: unable to handle kernel paging request in z_erofs_decompress_queue Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Gao, Chao, Yue, Jeffle, all, Syzbot reported a bug at [1] that is reproducible in upstream kernel since commit 47e4937a4a7c ("erofs: move erofs out of staging") and up to (inclusively) commit 2bfab9c0edac ("erofs: record the longest decompressed size in this round") The first commit that makes this bug go away is: commit 267f2492c8f7 ("erofs: introduce multi-reference pclusters (fully-referenced)") Although, this commit looks like new support and not like an explicit bug fix. I'd like to fix the lts kernels. I'm happy to try any suggestions or do some tests. Please let me know if the bug rings a bell. Thanks, ta [1] https://syzkaller.appspot.com/bug?id=a9b56d324d0de9233ad80633826fac76836d792a