All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: bo cao <treebacker@foxmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	john.fastabend@gmail.com
Subject: Re: [PATCH bpf v3] bpf, sockmap: Fix ring capacity invariant break in bpf_msg_push_data()
Date: Thu, 12 Nov 2026 20:00:04 +0000	[thread overview]
Message-ID: <179451360403.621483.1862904929520371421.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <tencent_F9A4094B6B79A77230BD540754D65D17BD0A@qq.com>

Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Thu, 12 Nov 2026 15:09:53 +0800 you wrote:
> From: Bo Cao <treebacker@foxmail.com>
> 
> A push at msg->size on a full ring reads the length of the free slot.
> It is 0, so nothing is copied and sg.end moves onto sg.start.
> The ring looks empty and the next push overwrites live elements.
> The prog needs CAP_BPF and CAP_NET_ADMIN.
> 
> [...]

Here is the summary with links:
  - [bpf,v3] bpf, sockmap: Fix ring capacity invariant break in bpf_msg_push_data()
    https://git.kernel.org/bpf/bpf/c/f6562cd116a0

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



      reply	other threads:[~2026-11-12 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12  7:09 [PATCH bpf v3] bpf, sockmap: Fix ring capacity invariant break in bpf_msg_push_data() bo cao
2026-11-12 20:00 ` 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=179451360403.621483.1862904929520371421.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=john.fastabend@gmail.com \
    --cc=treebacker@foxmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.