From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796179212; b=CiqjhT6e9tHC1OA8oHxDkmYH+va7csULzK+KJM3Df67xJEbNwhoPkrkjQSp0KKYBkMel sjm40von/2m0Ri8RQbN9ctvIFj8p11aTNhKYZrhSWZBtK6Q5RSFrGErCWZgVL7ChaM14b /EHow3x2AzSrrTHh7kDThTJVLn/OXljOG8mQFesuwlS2vSvH/qNlPyr90U+FBFAUGhSu0 KIXL+OmnC+6uouDdmREylvvj6XkD6wISZEHklfRQE1VhA8oMPn7gyZKhSw5rthrdEeBo2 pNHfV8Q2ZlsJeZl3GOyh7BF4Wg9ADf00GmTymZ/RSLLsPt09/IxvwbgoZvbZp4/16kQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796179212; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=yByiAfP+S3sICHafgvbvP1COD1qFBxR4OSSN70AVSXI=; b=AX+2diEebpsm5TjR2ttAMXAvazOpRoIiU1HOcHXmvduoqqdr9NoiZaICmPNYRZrljhHw +mlletVsKBiP0/X/Z9VacX1JnuWvS6i1xf71fRkbHXWoMH8F5cwEyytMJp1wTqTUYaXGA nka8XBQTKBH1wDVITciO6HREf+pDfML8wHPNz357Tgn9FBd5ouWzp6fx2BZe+5nHBxUqi oph3yLpfmHvV7Cw5yDTSAJ8RLVMogX//k+Zx7k6o9R6EAVt2MpLOCyq58TsrUnYjAWPS+ qPuH2GDw6e++rI3tc9MFslk2NCTVBp68LMWkOdSg8SrksJjhaYF9tIs3z2D4iicibFQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mmUKAB8i; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 465E6606A6AE; Wed, 2 Dec 2026 02:40:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mmUKAB8i Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7EB11F00A21; Wed, 2 Dec 2026 02:40:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796179211; bh=yByiAfP+S3sICHafgvbvP1COD1qFBxR4OSSN70AVSXI=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=mmUKAB8isjlQTXRnGxSOSD3mi+ZBWHhPIh9G9+6a9l8+UjpOBvhodF1FCDvaZWrHA epoztUVtuN8ZbjFTf++bgXgF6zAoNGzqFmyH1ZHfkyQWeyPDP/s2iyJnvF0uMb8/uM 7Mm3VAxHpJYYGbphcCau89THa8ydtyYSka9VVsTtMb+uM2QM1seP+nadASWNmfSr2m cdGpNixs2tx8cp6WT1r5DUATcNGHwvVUghFjSWYUacqgUNH2yduelB4BX+rIDm2m1Q 0icm+pv/gg7WVPladGoCLzcAXKLAqarPopHWmgj8HUjIhdhVHaTadiSeaPGOlHmAp/ BsjLRv7EcOfQA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id AE846380821E; Wed, 2 Dec 2026 02:40:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] phonet: fix use-after-free in can_respond() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179617921040.1132066.5103985713035383743.git-patchwork-notify@kernel.org> Date: Wed, 02 Dec 2026 02:40:10 +0000 References: <20261125221627.1419412-1-elkin@google.com> In-Reply-To: <20261125221627.1419412-1-elkin@google.com> To: Elkin Cruz Cc: courmisch@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, nathan@kernel.org, horms@kernel.org, ndesaulniers@google.com, morbo@google.com, justinstitt@google.com, netdev@vger.kernel.org, llvm@lists.linux.dev, remi@remlab.net, linux-kernel@vger.kernel.org, irogers@google.com, stable@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn : On Wed, 25 Nov 2026 22:16:27 +0000 you wrote: > In can_respond(), ph is cached before pskb_may_pull(skb, 5). When > ph->pn_res == PN_PREFIX and pskb_may_pull() reallocates skb->head, > the check `if (ph->pn_res == PN_COMMGR)` dereferences the dangling ph > pointer before the code re-acquires ph = pn_hdr(skb). > > Check for PN_COMMGR before calling pskb_may_pull() to avoid accessing > the potentially invalidated header pointer. > > [...] Here is the summary with links: - [net] phonet: fix use-after-free in can_respond() https://git.kernel.org/netdev/net/c/250b42eb17b7 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html