Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1757521pxb; Mon, 23 Aug 2021 04:02:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+iKEreS0pJlfIsq3QgKQE6Ss6AiBEySg1KAY+IKa/H3vKwlzpLHiEvqqE2uS4UjDB1VJn X-Received: by 2002:aa7:c78e:: with SMTP id n14mr36135502eds.381.1629716543607; Mon, 23 Aug 2021 04:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629716543; cv=none; d=google.com; s=arc-20160816; b=paZKFk25yLSHZRhRnCbfM3viCEy7ZqiiuzsB+D4y+hoBfhrz9NL//hMHG1MXiNmZX0 uzO6mwDlRS409/fcTwA0+/CxRaXtCb0Rfcb+RZBoSgCtgMxDlvHvo5l3a+5pX82lrUUF FLmMY9iQzMDX45Hr9cjVvjYDjk6AJz6MyWcYY6ef3IyOPwPkyx4dJlUw4T6pOeHEzs/Q zyWhyMcB45iWIfnNbwPQUZieU5bN1UvFQuHDElp9dasDnYYHrdjDNra8V/orypBkFM3U CbLrRclS/E+ewlozw8wdpruOF9+iNesgMu1uCss9bs2QfyVpCOBShNckBx0rtJeL1qmk MGsA== 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=d4mYFtTwpFEThNKGdbDKHGoSzhlsk+tzGhqd8UQO1RQ=; b=sk6gZ6NYj7RTHojDtO7dKQBXXQ0K1iLN46WsOBH5sDdsctAFQEXbizeScDbW1sEU9e cK7XVv9S7Jo6kMhiHHTBm/TcuEDenc598QK4be3rQy3pML8NcexLRDElOEpvHE4CQd/t +HACrLq8mbTMoDL3uHUrG4cxNgLZyseH8UawLbdwVWrkjcWxHqBDaBWiV3my+61IAU4J b3AIwZX+tybU6ByiuadQ8951FMEgAx09O4M9AOz0OEBtyeRgaBTB0poa4lj1fBVl9j9j L8zDk8VNaJvK9bFOuNh6+gy4s7H7AliyJM7+vL1Id3DWOddGWyNne8Pci+B98dh8j/EC RNug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aIolGCdN; 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 v20si13939961eji.303.2021.08.23.04.02.00; Mon, 23 Aug 2021 04:02:23 -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=aIolGCdN; 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 S236234AbhHWLBE (ORCPT + 99 others); Mon, 23 Aug 2021 07:01:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:58436 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236254AbhHWLAs (ORCPT ); Mon, 23 Aug 2021 07:00:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id CF4036138B; Mon, 23 Aug 2021 11:00:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629716405; bh=Ikhc8tu0qcR9oQ+OhMO9QJXM01eNb0Fr+KVga4JK3Yc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=aIolGCdNrhzyEe3SDJP9ymLwl6PCU0Vp1ib7BB40HQewFKfeQgerhjXeBKGqfFYzz ncGDWb8Bu+aOEHptpodfVSiyq2VYFoPcupKLJDDmQzqcsRrQoLIC08o2graRBlvWmK z4/IdHFwtwbI5sj0AvLF++aWOOlDPejGjqJ0BudRvqWwUQLUrkjg5qwCjkGzXjtmAF JVU2AVOomZxWAZjaPoY9Q+umSab/52HiqXZrBLYI+bMvW7Oy9AvtM7Ym8ZL4JKHxQq o0ZyDDziashoWfbWMKYQW/DBKRKYrnwJwyHVO1SReMfX2CU6JRvkC4f/UHIHR+ATta /kOi1Ot5MfuIg== 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 C147C60075; Mon, 23 Aug 2021 11:00:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162971640578.3591.684307191157307528.git-patchwork-notify@kernel.org> Date: Mon, 23 Aug 2021 11:00:05 +0000 References: <20210820132622.4175839-1-vee.khee.wong@linux.intel.com> In-Reply-To: <20210820132622.4175839-1-vee.khee.wong@linux.intel.com> To: Wong Vee Khee Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 20 Aug 2021 21:26:22 +0800 you wrote: > In the case of taprio offload is not enabled, the error handling path > causes a kernel crash due to kernel NULL pointer deference. > > Fix this by adding check for NULL before attempt to access 'plat->est' > on the mutex_lock() call. > > The following kernel panic is observed without this patch: > > [...] Here is the summary with links: - [net] net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est https://git.kernel.org/netdev/net/c/82a44ae113b7 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html