Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1910152rdb; Mon, 9 Oct 2023 06:55:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEycR8jA+R1dxhIqUquTy6aqr4uiDlufLjqTp556sfiazmFuW24+m5GmtEXIp4HCz1jQbPO X-Received: by 2002:a05:6a20:8e2a:b0:154:a1e4:b676 with SMTP id y42-20020a056a208e2a00b00154a1e4b676mr20322447pzj.4.1696859707777; Mon, 09 Oct 2023 06:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696859707; cv=none; d=google.com; s=arc-20160816; b=f51nUc+9xiwlM0Px+JZg04lf1W5oDg6sBikWDGydcn0SEFhKi/Fv6sjcZOvl9g8k4Q mLAtBsqaTTWk4a3y86TtYonP1m00kw1q6GSb0Vl/ouunvLKRuRJJl51ClOgjKbG3V8+S 7HMa45kOr4Cf6Hm9P9jTJ/2caCX6wtNJkXBlmUkPnMKiLq++usJnndYdko5ISm8Hws6y 2tQYXXW9L1FjbTSCQiKyzSAZWTPyCUoo2iWHQz7OdsNlhDJPqdyzUODyOn981EX+ca8h nG8CZfadiYAea1+26yTO1t20IiBF3ppny+abbV57PsuaNkNfdmIuB/fskbXvCugrnWTZ WZgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c/xQardZbxbh6d8Wy27FrgLVOdb6Vm0vBIgDFhDBU3g=; fh=Nn811P0BZPS5wDpdsvHu1AsafeUn7s6cfERLclw259Q=; b=VnOkVN8EWYmtYaHufZl53dLlBJIKtyDF/6LpCOjMEg6WJvmQ3S8igiTMSqfrxxv94K XLSuMbjh2nkKh8lt0Nq6qFgiOjz2yXVPeQc2vyiYVSJNt4chem8ZpC1+u1nBSbLGYtBu 22pWO72rWBDxfbGpCccIEsz8roDv+pDRO9xRtD+4IBc62JKqh/E6A8upx6Bd8mjVQDiE Fl1KNiiNU9bF5LxCTuX/syUogFyXJNPq4+m+kYcdi+JXoYM0gjmRQB6hQBpRWhQUA/Ad 8ppT3cHmlz7Gh6lgEu1pnbq8HsKmkBdxRvdvkodPUAOZjCMta6dWm+GF+xi4i9coiuiF iKBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I9o9dDnp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id k198-20020a633dcf000000b0057745d87b53si9572398pga.686.2023.10.09.06.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 06:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I9o9dDnp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 39884802F70D; Mon, 9 Oct 2023 06:55:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377540AbjJINys (ORCPT + 99 others); Mon, 9 Oct 2023 09:54:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377570AbjJINyq (ORCPT ); Mon, 9 Oct 2023 09:54:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7568ECF; Mon, 9 Oct 2023 06:54:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A043C433CB; Mon, 9 Oct 2023 13:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696859684; bh=ompOgLLvmlaZ/tZHb2NKNh+AWkXSSBfmdsowsHpjK1Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I9o9dDnp3E7CyoCXUH0vvzI9zyOVbFPT79OCHoI+Ops84d00hoDR+hLMweUsU2oEb 1KNscg7x7tj+4tD46Fz/Rx75OlaYlkypHxdpCCfTx5gw3XnqDh+AmmC9ICw9upSA2s X/d+VnTA/XzHoblJdENjh1ej6qTpgotK7bCtJK0td03/kIw+2o5mLrP8OHEjoc9esi Xh7KpUyBTP0rV6mW1kQI21C8tmD9fod1PHGfTu/5EHd4epEkubnNLFkQjXRzJGVJVC 1WqO2LAL3+/pDlolNKPS34ybeTYj6anBHy24XnV6vdCFe8lt0gYzYPr/Iee2BIBiwp EC7BDRB7YGYqQ== From: Christian Brauner To: jack@suse.cz, syzbot+23bc20037854bb335d59@syzkaller.appspotmail.com, Lizhi Xu Cc: Christian Brauner , axboe@kernel.dk, dave.kleikamp@oracle.com, hare@suse.de, hch@lst.de, jfs-discussion@lists.sourceforge.net, johannes.thumshirn@wdc.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, shaggy@kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [PATCH] jfs: fix log->bdev_handle null ptr deref in lbmStartIO Date: Mon, 9 Oct 2023 15:54:36 +0200 Message-Id: <20231009-vielsagend-halbmarathon-2c0c448544db@brauner> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231009094557.1398920-1-lizhi.xu@windriver.com> References: <0000000000005239cf060727d3f6@google.com> <20231009094557.1398920-1-lizhi.xu@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1043; i=brauner@kernel.org; h=from:subject:message-id; bh=ompOgLLvmlaZ/tZHb2NKNh+AWkXSSBfmdsowsHpjK1Q=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaSqsIldct10g/m5hvdFjvWpMi8eV+r9PKmnnHh43gHrtwwe 8xucO0pZGMS4GGTFFFkc2k3C5ZbzVGw2ytSAmcPKBDKEgYtTACYiEMrwT3H38iLBBev7S5eWTD3H81 f0zAnuJWk/urcZbgo6y1GXLszIsERhh8bvVO37ifPzrFIPFYQq2jOY3pWPO7zAtq9tT/5PfgA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 06:55:03 -0700 (PDT) X-Spam-Level: ** On Mon, 09 Oct 2023 17:45:57 +0800, Lizhi Xu wrote: > When sbi->flag is JFS_NOINTEGRITY in lmLogOpen(), log->bdev_handle can't > be inited, so it value will be NULL. > Therefore, add the "log ->no_integrity=1" judgment in lbmStartIO() to avoid such > problems. > > Applied to the vfs.super branch of the vfs/vfs.git tree. Patches in the vfs.super branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.super [1/1] jfs: fix log->bdev_handle null ptr deref in lbmStartIO https://git.kernel.org/vfs/vfs/c/dc869ef84f26