[PATCH bpf-next v1 0/2] Reject oversized stream read buffers

Kumar Kartikeya Dwivedi <[email protected]>
Newsgroups org.kernel.vger.bpf
Message-ID <[email protected]>
Reject stream read lengths above INT_MAX before they reach the signed
internal reader, and add regression coverage for the error path. See
commit logs for details.

Kumar Kartikeya Dwivedi (2):
  bpf: Reject oversized stream read buffers
  selftests/bpf: Cover oversized stream read buffers

 include/linux/bpf.h                             | 2 +-
 kernel/bpf/stream.c                             | 4 +++-
 tools/testing/selftests/bpf/prog_tests/stream.c | 4 ++++
 3 files changed, 8 insertions(+), 2 deletions(-)


base-commit: a284ed47ec1fd4aa63d2318d87f457cc421a93b5
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.