From: patchwork-bot+netdevbpf@kernel.org
To: Elkin Cruz <elkin@google.com>
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
Subject: Re: [PATCH net] phonet: fix use-after-free in can_respond()
Date: Wed, 02 Dec 2026 02:40:10 +0000 [thread overview]
Message-ID: <179617921040.1132066.5103985713035383743.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261125221627.1419412-1-elkin@google.com>
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
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
prev parent reply other threads:[~2026-12-02 2:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 22:16 Elkin Cruz
2026-11-27 20:17 ` Rémi Denis-Courmont
2026-12-02 2:40 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179617921040.1132066.5103985713035383743.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=courmisch@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=elkin@google.com \
--cc=horms@kernel.org \
--cc=irogers@google.com \
--cc=justinstitt@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=remi@remlab.net \
--cc=stable@vger.kernel.org \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®