Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <will…@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