Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1815954pxf; Fri, 26 Mar 2021 16:02:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg1MlluYVUwZRGznc+K2C9CUR1QecxVbdfuFc7X4Mx2IQNU2zVpzay5sac5NVOYNdCtcjP X-Received: by 2002:a17:907:720a:: with SMTP id dr10mr17327893ejc.375.1616799722456; Fri, 26 Mar 2021 16:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616799722; cv=none; d=google.com; s=arc-20160816; b=SY+ryZMFVAR+/nl/XLAZEAdNAcM+FjJcmIRrJ1VzLVCvVCJpLmb7In3wGEBlqdfjCe Hzm83WlBXB8bqG7YeyDJ+jfG/z/3ZB0gXAadhxkzxnlONXn1X/T4id4V0kBZI8pJXXJu NDdPBIvQm1JODW7NEMh0+1Z/F5udna2KoHGSuRPZ65Wg/rYKr4ztgTFzMSjag1kTR4zP pl7YFxD+QZJ1Nr4b3bkwcixG7NLBNEUWyzX3pZDduGZuf8CfCJpexb0J/leqQpa82TxJ BUUbrBRHH7EdyI4qgosNBYwhjSy8d46uGuN+/C4O3bh98Io6rMp12xSwd8u6FuDhwrMw n0+Q== 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=iASK7Khl1FQ609k7ZTyvBNTI2ZwILO0EiwV0/xKVp3U=; b=h1nvgxe/MVCrqELH+JOUx/HpDnUrlB1xFbAtgyjFqpaYtZqOKOGvLbVa+dAFCImNt+ pr0WU88sPU4XEmyKrKbjfOk72wcHvXbOKeEc2aeOP7X+mkCM0XeFCOpZI5P+bo7J0WgR HD10J25KwBPOMyMutbQMNT/Da5PJ5b/SeufY7WDQFpKbPWkhdNvPd3IotfgXdXWN3+HB c3DAMsRf4QLyXvDtrwLYeyV6Jvi7DzKEyGAp4auSBIUig3G3FPzkiHm9Op484ri8aaSu J7f03vz1YKRJbQu302wSwzBnrhhFZYvulGi9qQs8so0kSLyO5fR45JAxjLmnpx31AaEQ bluQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BCJNlmnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si7746246edr.388.2021.03.26.16.01.39; Fri, 26 Mar 2021 16:02:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BCJNlmnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230450AbhCZXAm (ORCPT + 99 others); Fri, 26 Mar 2021 19:00:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:35356 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbhCZXAN (ORCPT ); Fri, 26 Mar 2021 19:00:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id BED2D61A48; Fri, 26 Mar 2021 23:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616799612; bh=ot+7owfL+GI3GOc/wfSCv75+AhS2i6dAC6xmX2c3JAQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=BCJNlmnHUkQp1ORnCWFGVSkIetH3kibCJHaIEeuXNqD6X/wuZuLeyJSNg/F3FtiF+ oPU59hVsjCACVEEqKgRjFoBCL2LARfxHFy3cT6dkVJdpzvnL2v4ekeRtzZhhHctrFJ BFH85oXG6OF48zk6I/OOjtv22qcghVyr7kpZpxaAG7x2tBmVvpLYwgEnBwtX2tOJgh PLbefh8B6Z5uCG2nrQO/sWLPIX+dcVEYEopv7Gt5B8Fm/F3OwxLsoM0QI+6GrI1Xvv AMCjoCSS+/x6qlG22QLWtIJgUAXizJpBPKkVzfJqvNUk6LjesRnOemMVzcOjauDHqJ C5+5uZ2PumlwA== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id A5D066096E; Fri, 26 Mar 2021 23:00:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161679961267.14639.4413249532749146951.git-patchwork-notify@kernel.org> Date: Fri, 26 Mar 2021 23:00:12 +0000 References: <20210326091046.26391-1-mohammad.athari.ismail@intel.com> In-Reply-To: <20210326091046.26391-1-mohammad.athari.ismail@intel.com> To: Ismail@ci.codeaurora.org, Mohammad Athari Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, linux@armlinux.org.uk, m.szyprowski@samsung.com, boon.leong.ong@intel.com, weifeng.voon@intel.com, vee.khee.wong@intel.com, tee.min.tan@intel.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 26 Mar 2021 17:10:46 +0800 you wrote: > From: Mohammad Athari Bin Ismail > > In this patch, "net: stmmac: support FPE link partner hand-shaking > procedure", priv->plat->fpe_cfg wouldn`t be "devm_kzalloc"ed if > dma_cap->frpsel is 0 (Flexible Rx Parser is not supported in SoC) in > tc_init(). So, fpe_cfg will be remain as NULL and accessing it will cause > kernel panic. > > [...] Here is the summary with links: - [net-next] net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg https://git.kernel.org/netdev/net-next/c/63c173ff7aa3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html