All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/4] More gen_loader fixes #2
@ 2026-06-02 13:30 Daniel Borkmann
  2026-06-02 13:30 ` [PATCH bpf-next 1/4] bpf: Reject exclusive maps for bpf_map_elem iterators Daniel Borkmann
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Daniel Borkmann @ 2026-06-02 13:30 UTC (permalink / raw)
  To: alexei.starovoitov; +Cc: bpf, kpsingh

Another small follow-up from the sashiko findings about signed loaders.
In particular, closing the gap to reject exclusive maps in iterators.

Daniel Borkmann (4):
  bpf: Reject exclusive maps for bpf_map_elem iterators
  libbpf: Guard add_data() against size overflow
  selftests/bpf: Keep verifier_map_ptr exercising ops pointer access
  selftests/bpf: Test that exclusive maps are rejected as iter targets

 kernel/bpf/map_iter.c                         |  4 ++
 tools/lib/bpf/gen_loader.c                    |  8 +++-
 .../selftests/bpf/prog_tests/map_excl.c       | 39 +++++++++++++++++++
 .../selftests/bpf/progs/verifier_map_ptr.c    | 34 ++++++++++++++--
 4 files changed, 80 insertions(+), 5 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-02 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02 13:30 [PATCH bpf-next 0/4] More gen_loader fixes #2 Daniel Borkmann
2026-06-02 13:30 ` [PATCH bpf-next 1/4] bpf: Reject exclusive maps for bpf_map_elem iterators Daniel Borkmann
2026-06-02 13:49   ` sashiko-bot
2026-06-02 15:38     ` Daniel Borkmann
2026-06-02 13:30 ` [PATCH bpf-next 2/4] libbpf: Guard add_data() against size overflow Daniel Borkmann
2026-06-02 13:30 ` [PATCH bpf-next 3/4] selftests/bpf: Keep verifier_map_ptr exercising ops pointer access Daniel Borkmann
2026-06-02 14:15   ` sashiko-bot
2026-06-02 13:30 ` [PATCH bpf-next 4/4] selftests/bpf: Test that exclusive maps are rejected as iter targets Daniel Borkmann
2026-06-02 16:50 ` [PATCH bpf-next 0/4] More gen_loader fixes #2 patchwork-bot+netdevbpf

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.