BPF List
 help / color / mirror / Atom feed
* [PATCH V2 bpf 0/2] Check bloom filter map value size
@ 2024-03-27  2:42 Andrei Matei
  2024-03-27  2:42 ` [PATCH V2 bpf 1/2] bpf: " Andrei Matei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrei Matei @ 2024-03-27  2:42 UTC (permalink / raw)
  To: bpf; +Cc: alexei.starovoitov, Andrei Matei

v1->v2:
- prepend a patch addressing the bloom map specifically
- change low-level rejection error to EFAULT, to indicate a bug

Andrei Matei (2):
  bpf: Check bloom filter map value size
  bpf: Protect against int overflow for stack access size

 kernel/bpf/bloom_filter.c                           | 13 +++++++++++++
 kernel/bpf/verifier.c                               |  5 +++++
 .../selftests/bpf/prog_tests/bloom_filter_map.c     |  6 ++++++
 3 files changed, 24 insertions(+)

-- 
2.40.1


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

end of thread, other threads:[~2024-03-27 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27  2:42 [PATCH V2 bpf 0/2] Check bloom filter map value size Andrei Matei
2024-03-27  2:42 ` [PATCH V2 bpf 1/2] bpf: " Andrei Matei
2024-03-27 16:48   ` Andrii Nakryiko
2024-03-27  2:42 ` [PATCH V2 bpf 2/2] bpf: Protect against int overflow for stack access size Andrei Matei
2024-03-27 16:46   ` Andrii Nakryiko
2024-03-27 16:50 ` [PATCH V2 bpf 0/2] Check bloom filter map value size 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