mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: sun jian <sun.jian.kdev@gmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
	daniel@iogearbox.net, eddyz87@gmail.com, emil@etsalapatis.com,
	jolsa@kernel.org, john.fastabend@gmail.com, memxor@gmail.com,
	martin.lau@linux.dev, shuah@kernel.org, song@kernel.org,
	yonghong.song@linux.dev, shung-hsi.yu@suse.com, mmullins@mmlx.us,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH bpf v5 0/2] bpf: Reject negative const offsets for buffer pointers
Date: Wed, 15 Jul 2026 09:40:16 +0000	[thread overview]
Message-ID: <178410841689.3988381.5999018507297554942.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260714093846.18159-1-sun.jian.kdev@gmail.com>

Hello:

This series was applied to bpf/bpf.git (master)
by Eduard Zingerman <eddyz87@gmail.com>:

On Tue, 14 Jul 2026 02:38:44 -0700 you wrote:
> Reject negative effective offsets for PTR_TO_TP_BUFFER and PTR_TO_BUF
> accesses. Calculate the effective access start using signed arithmetic
> to prevent unsigned access-end accounting from wrapping, and cover both
> load-time rejection and the raw tracepoint writable attach-time path.
> 
> ---
> 
> [...]

Here is the summary with links:
  - [bpf,v5,1/2] bpf: Reject negative const offsets for buffer pointers
    https://git.kernel.org/bpf/bpf/c/fd4cfa8c8f9a
  - [bpf,v5,2/2] selftests/bpf: Cover negative buffer pointer offsets
    https://git.kernel.org/bpf/bpf/c/6f59deb32efa

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



      parent reply	other threads:[~2026-07-15  9:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14  9:38 Sun Jian
2026-07-14  9:38 ` [PATCH bpf v5 1/2] " Sun Jian
2026-07-14  9:38 ` [PATCH bpf v5 2/2] selftests/bpf: Cover negative buffer pointer offsets Sun Jian
2026-07-15  3:02   ` Shung-Hsi Yu
2026-07-15  4:15   ` Shung-Hsi Yu
2026-07-15  4:23     ` Shung-Hsi Yu
2026-07-15  5:26       ` sun jian
2026-07-15  8:54         ` Eduard Zingerman
2026-07-15  9:16           ` Shung-Hsi Yu
2026-07-15  9: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=178410841689.3988381.5999018507297554942.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=mmullins@mmlx.us \
    --cc=shuah@kernel.org \
    --cc=shung-hsi.yu@suse.com \
    --cc=song@kernel.org \
    --cc=sun.jian.kdev@gmail.com \
    --cc=yonghong.song@linux.dev \
    /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