Netdev List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Breno Leitao <leitao@debian.org>
Cc: courmisch@gmail.com, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
	remi.denis-courmont@nokia.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, kernel-team@meta.com,
	stable@vger.kernel.org
Subject: Re: [PATCH net] phonet: pep: fix use-after-free in pep_get_sb()
Date: Thu, 23 Jul 2026 17:30:09 +0000	[thread overview]
Message-ID: <178482780964.2797885.9364408026538103530.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260721-phonet_get_sb_uaf-v1-1-95fd7881cc4e@debian.org>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 21 Jul 2026 01:58:45 -0700 you wrote:
> pep_get_sb() doesn't consider that pskb_may_pull() might have relocated
> the skb data, and continue to access the older pointer, causing UAF.
> 
> Reproduced under KASAN:
> 
>   BUG: KASAN: slab-use-after-free in pep_get_sb+0x234/0x3b0
>   Read of size 1 at addr ff11000105510f50 by task repro/157
>    pep_get_sb+0x234/0x3b0
>    pipe_handler_do_rcv+0x5f7/0xa10
>    pep_do_rcv+0x203/0x410
>    __sk_receive_skb+0x471/0x4a0
>    phonet_rcv+0x5b3/0x6c0
>    __netif_receive_skb+0xcc/0x1d0
> 
> [...]

Here is the summary with links:
  - [net] phonet: pep: fix use-after-free in pep_get_sb()
    https://git.kernel.org/netdev/net/c/0f71f852a96a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2026-07-23 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21  8:58 [PATCH net] phonet: pep: fix use-after-free in pep_get_sb() Breno Leitao
2026-07-23 17:30 ` 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=178482780964.2797885.9364408026538103530.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=courmisch@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kernel-team@meta.com \
    --cc=kuba@kernel.org \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=remi.denis-courmont@nokia.com \
    --cc=stable@vger.kernel.org \
    /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