From: Andrei Matei <andreimatei1@gmail.com>
To: bpf@vger.kernel.org
Cc: alexei.starovoitov@gmail.com, Andrei Matei <andreimatei1@gmail.com>
Subject: [PATCH V2 bpf 0/2] Check bloom filter map value size
Date: Tue, 26 Mar 2024 22:42:43 -0400 [thread overview]
Message-ID: <20240327024245.318299-1-andreimatei1@gmail.com> (raw)
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
next reply other threads:[~2024-03-27 2:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 2:42 Andrei Matei [this message]
2024-03-27 2:42 ` [PATCH V2 bpf 1/2] bpf: Check bloom filter map value size 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
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=20240327024245.318299-1-andreimatei1@gmail.com \
--to=andreimatei1@gmail.com \
--cc=alexei.starovoitov@gmail.com \
--cc=bpf@vger.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