Netdev List
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	andrii@kernel.org, netdev@vger.kernel.org,
	magnus.karlsson@intel.com, bjorn@kernel.org,
	jordyzomer@google.com, security@kernel.org
Subject: Re: [PATCH v2 bpf 0/2] bpf: fix OOB accesses in map_delete_elem callbacks
Date: Fri, 29 Nov 2024 16:43:29 -0800	[thread overview]
Message-ID: <Z0pfsWqRoxaTTC2t@pop-os.localdomain> (raw)
In-Reply-To: <20241122121030.716788-1-maciej.fijalkowski@intel.com>

On Fri, Nov 22, 2024 at 01:10:28PM +0100, Maciej Fijalkowski wrote:
> v1->v2:
> - CC stable and collect tags from Toke & John
> 
> Hi,
> 
> Jordy reported that for big enough XSKMAPs and DEVMAPs, when deleting
> elements, OOB writes occur.
> 
> Reproducer below:
> 

Please consider adding it to tools/testing/selftests/bpf/, since it is
pretty small and self-contained. (A follow up patch is definitely
welcome.)

Thanks.

      parent reply	other threads:[~2024-11-30  0:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22 12:10 [PATCH v2 bpf 0/2] bpf: fix OOB accesses in map_delete_elem callbacks Maciej Fijalkowski
2024-11-22 12:10 ` [PATCH v2 bpf 1/2] xsk: fix OOB map writes when deleting elements Maciej Fijalkowski
2024-11-22 12:10 ` [PATCH v2 bpf 2/2] bpf: fix OOB devmap " Maciej Fijalkowski
2024-11-25 22:30 ` [PATCH v2 bpf 0/2] bpf: fix OOB accesses in map_delete_elem callbacks patchwork-bot+netdevbpf
2024-11-30  0:43 ` Cong Wang [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=Z0pfsWqRoxaTTC2t@pop-os.localdomain \
    --to=xiyou.wangcong@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=jordyzomer@google.com \
    --cc=maciej.fijalkowski@intel.com \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=security@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