The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: [PATCH bpf v2] bpf: Fix off-by-one boundary validation in arena direct-value access
       [not found] <20260426172505.1947915-1-graypanda.inzag@gmail.com>
@ 2026-05-09 23:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; only message in thread
From: patchwork-bot+netdevbpf @ 2026-05-09 23:20 UTC (permalink / raw)
  To: Junyoung Jang
  Cc: ast, daniel, andrii, eddyz87, memxor, martin.lau, song,
	yonghong.song, jolsa, bpf, linux-kernel, greg, security

Hello:

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

On Mon, 27 Apr 2026 02:25:05 +0900 you wrote:
> BPF_MAP_TYPE_ARENA accepts BPF_PSEUDO_MAP_VALUE offsets at exactly
> the end of the arena mapping (off == arena_size). The boundary check
> in arena_map_direct_value_addr() uses `>` instead of `>=`, which
> incorrectly allows a one-past-end pointer to be accepted.
> 
> Change the condition to `>=` to correctly reject offsets that fall
> outside the valid arena user_vm range.
> 
> [...]

Here is the summary with links:
  - [bpf,v2] bpf: Fix off-by-one boundary validation in arena direct-value access
    https://git.kernel.org/bpf/bpf/c/3ac1a467e376

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-09 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260426172505.1947915-1-graypanda.inzag@gmail.com>
2026-05-09 23:20 ` [PATCH bpf v2] bpf: Fix off-by-one boundary validation in arena direct-value access patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox