Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14676279rwb; Mon, 28 Nov 2022 03:58:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6l1UA4JbR/8MG40S3iCaMUGk9pR/1IPz5tS7WVEMmPhbwvcXwR73DKzn6drTDWAeWJvWK6 X-Received: by 2002:a50:ff04:0:b0:46b:19aa:cfc4 with SMTP id a4-20020a50ff04000000b0046b19aacfc4mr5621027edu.384.1669636713597; Mon, 28 Nov 2022 03:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669636713; cv=none; d=google.com; s=arc-20160816; b=qjVi0V6ijC7KXkm+PAmHwBhWfVfY2kWK5TLWzmqAYKqVkSp6NDpDW0mAVKvQ2qu6+G BTuLxkki9SmkNFeak+jUa7/TzojkXLYwSkLpJjdzvs5WZvZrZM+6WZnZkapxdBrUwf1T FUlYoZJPLCOE6OT9o2jr8Q3dWfJHbmThu7zjrpyeact6+eG51687DNmkP3T/L3zizzNR WuUkxlAAxNHBEpjB6kHcQKA7xU2NwRXnTSqCHD7PDJwv36YDpMttFVR0gYv6n25FAGLl nZYtqX8eP59eA21JKihsjsMmnXwTKwy5Imzt8shGFslpN772RMHbFH7nZRgWLeh6gokV e+kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=b43qvhueqNQn+ou5ytYjd/L3Ep0Hl0+QAxNGgFF1zKA=; b=jmzgRp4c1w/tKNFg3b+/5cPmxeTKetEFGbEe5A/+6Qx0z92LFTKOCz0dB3kpM6/8rJ zsgtdmxYXv6OeBhFL9lo/bYJON6HGCurGeijLdfjYdHpDtbQySGqSsmpJm3Hp1Au32St PwM0f8kmUQveHIjXExE6PCAhc7c9uy3WQ7WEeznz+mWddwxP4ONiKAcfdnHirykNGhGU OmkwN4ZdNnTWlh5Q+cQRNTZaR/GpBxr/3M2m0Dv68Yn1e9848R7i2tlTtdAShJu2qgLs 2C5cO3LBVEHd0Zxqrec8bIzXpM7B0dYRltl9LWn7kqf5pJLoQ9HWZ3NIPUGD7Y2KGuo2 UItw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hjWkUBkn; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a50cbc2000000b00468f6919522si8840608edi.564.2022.11.28.03.58.13; Mon, 28 Nov 2022 03:58:33 -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=@kernel.org header.s=k20201202 header.b=hjWkUBkn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231287AbiK1LWI (ORCPT + 84 others); Mon, 28 Nov 2022 06:22:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231301AbiK1LVs (ORCPT ); Mon, 28 Nov 2022 06:21:48 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E01AE5FE0; Mon, 28 Nov 2022 03:20:17 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A2653B80D50; Mon, 28 Nov 2022 11:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 55A11C433D6; Mon, 28 Nov 2022 11:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669634415; bh=capgdYdlv8ImmaY/P/XJPNMe5ihxiGl9pspCb2NR7Ms=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=hjWkUBknQuY85YbvoLRK+C3kMeqlNk8kfIYVmZwZg1Bdksi9SNVzwND2Ts88JG3bL CVXZQ/TYXcce3Jx+tHZrRpl6GdbItwfUfCWliibpS1HGb0C4DmAZ9JMrqmG6u8+Yuw vlUP9WvuIdA+n6/A/fe8dY4bDnuf8K2PruPoRmzJuPxTxQAbETZsU/Hdi47MzGrCEk RurMAHKK3BmoGWIrJLPUEv/2M3s5x39FH4PlRU6ryqOnBL3vFxArXLAtZzCILG5ul6 SBnl6/tYAyTT+hnDw9tKwXFo5Soci/cWVuMZCJjRArA2F9DlnrdpIFB+6W/HXrEjn4 0gv/Wdy+GnpOQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 38E23E270C8; Mon, 28 Nov 2022 11:20:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: ethernet: nixge: fix NULL dereference From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166963441522.28920.10870298587227160274.git-patchwork-notify@kernel.org> Date: Mon, 28 Nov 2022 11:20:15 +0000 References: <20221124084303.2075092-1-YKarpov@ispras.ru> In-Reply-To: <20221124084303.2075092-1-YKarpov@ispras.ru> To: Yuri Karpov Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Thu, 24 Nov 2022 11:43:03 +0300 you wrote: > In function nixge_hw_dma_bd_release() dereference of NULL pointer > priv->rx_bd_v is possible for the case of its allocation failure in > nixge_hw_dma_bd_init(). > > Move for() loop with priv->rx_bd_v dereference under the check for > its validity. > > [...] Here is the summary with links: - net: ethernet: nixge: fix NULL dereference https://git.kernel.org/netdev/net/c/9256db4e45e8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html