Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp894181lqp; Thu, 23 May 2024 03:22:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2EceFkV5jw9OjoklNJKaiLfKaluZVfpKSxOQNY7ryqZsuxWOUzQCmmrCUKFMIunMhKGXykMjWOGmLQKwS6rVwoyOpurwVGlWBIvJh6A== X-Google-Smtp-Source: AGHT+IHCpOfPAUofVQL28mU5QDFQjXvVgthrJvpe2/8sVbn27B8W2cyVAJ4+ofSjDAZqnp+rggwD X-Received: by 2002:a17:902:e944:b0:1eb:2fa0:fe22 with SMTP id d9443c01a7336-1f31c9e2bf1mr46946905ad.65.1716459737943; Thu, 23 May 2024 03:22:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716459737; cv=pass; d=google.com; s=arc-20160816; b=f+d1QahQvYiI+EnZVZ9CDT+gCwx66H/7A/R10DZsP5jlQMSOedBdiYSZIQ/sDyV8FH rhVbUbw1KuF74w7SON3cIJVOU+j/6MgSnoYxy8P+5OrGbdzV2zLuhG+nvjPdxkQUxEKu MWhVWvSwN3x2sJ63tGDy8lbWaqpkpdvuS4PUyF4vkeCx9V0uw31Cgnv2xUFaebtBVtgN bfLQNXsKW993CT/AUu+MuX5kHfQJBU0lOqYG9ELy9A8r+iYspFAXeAdQY04hz7XBLjaF +JyrMauJXDBaZqd8C1yT4bMC5VR8rugl6p4t9OwlyFUFFejhzHjB1W6WDmXe6ajx8KH+ 7qVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=nBVvc4Xk15s7Xv/ospmrAvun1ALGHINz4Or2NzGkiNI=; fh=v+hgdOIPcbMQ293bHs+m3hJyrcOMIiBIyUCyEtJpmlg=; b=Px41RQB/LqDrByuIx05CnzyK1sg88afJLMW8oSM0Nu/5ExUQ+VSTt7j/DbOeNoHZit +dmyqsP4BmgJJEmnY0iI1eRbVI+K9usfx0eZoj1sOlN14WmAT6wJYnUYwpBHuaazTudd 5wv2TidLDaujaxtiksxCzbrL5W198reCKf2TL72H/2I8J3z05J0aMmTbeTvZqbPORx+X 76wVVHkQ+Ww3Jm2byTXcn7epmkMAnPgRRp1im//WxfXtOYLuXs24e+044cjQPVXn88Vg poXBNdYzGbUCLm2G9YAbfTHMk23DbR//gu6hQ+TJRYErEk+qjXmWWW0vo46ubFTrgk8u +aYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mfi5+rIr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187328-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f303220262si67941555ad.8.2024.05.23.03.22.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 03:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187328-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mfi5+rIr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187328-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 541A3283209 for ; Thu, 23 May 2024 10:22:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23DA9142E66; Thu, 23 May 2024 10:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Mfi5+rIr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 447EB140387; Thu, 23 May 2024 10:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716459629; cv=none; b=Lz6txtCBosWcCfLVtimZNaOOb34jZPCavi474C5FzbGAMpd2KrKPcrG5Gekjg19eJLIwWJJDQO0NqjxhUabP/w/33AaihciYKwXaVHetLh0RPtAjKL5bbLsrfQtwBiBGfb34Y25EvWZK6bSiOJ75MPtFfHc0eBShPoRtaxwN26w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716459629; c=relaxed/simple; bh=wWjox4AoY2ZWFzxB18FF5+2OZbBxYaXqr1ceABbeUdQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=mrY3mJZ00mLSFjiKpS6A53tzs+NZZcnr+yrCnfnprPK9sFvnKmZWZe+giQ2DwAV44HFzcIqdadQKjBVDUCDw/yVSv6dzxiv7FiamPdCTiiPHe5p3mmSh2tzhpQwczHhl+DTJsDaCqhBZJWWm17gpyJdzjGllJDvUsEjb6qSZOfE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Mfi5+rIr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D3F39C32782; Thu, 23 May 2024 10:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716459628; bh=wWjox4AoY2ZWFzxB18FF5+2OZbBxYaXqr1ceABbeUdQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Mfi5+rIrJ29bYs/NKSxoVc2DkLdoYu0qiWgF9bxDANV43hgNSGBkjvEdDX1i700D3 IrsFfYPGlNi8AIZBqebNsdCP3/3vORLUQ8bXvykIaE+oUV6SiJnQ99rYhFms/pDPX7 Q3RbxdZuIljgTkkE36XyOPgtpLTRaDhsyrkkXwn9bzQV0ydVa5AusEN1lE0YNVhd68 RBQBbML+A5PVgYn1B5SuvxSrOrqtDfnCSh5aIr6EinN6XGA7IeRoiXv1Inu3dbzrV9 KvxpQUlRd/f9QxInwNuvtD3Hn9Dx6t2zFjKBwvIv8y4ZqfDlgdUfTCgnMbDYzTzNvO GhWyUwIMT/6GQ== 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 BB806C54BB2; Thu, 23 May 2024 10:20:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171645962876.19239.16570750086853802691.git-patchwork-notify@kernel.org> Date: Thu, 23 May 2024 10:20:28 +0000 References: <20240521-icssg-prueth-fix-v1-1-b4b17b1433e9@bootlin.com> In-Reply-To: <20240521-icssg-prueth-fix-v1-1-b4b17b1433e9@bootlin.com> To: Romain Gantois Cc: danishanwar@ti.com, rogerq@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, thomas.petazzoni@bootlin.com, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Tue, 21 May 2024 14:44:11 +0200 you wrote: > In the prueth_probe() function, if one of the calls to emac_phy_connect() > fails due to of_phy_connect() returning NULL, then the subsequent call to > phy_attached_info() will dereference a NULL pointer. > > Check the return code of emac_phy_connect and fail cleanly if there is an > error. > > [...] Here is the summary with links: - [net] net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe() https://git.kernel.org/netdev/net/c/b31c7e780861 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html