BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/2] Reject oversized stream read buffers
@ 2026-08-23 19:31 Kumar Kartikeya Dwivedi
  2026-08-23 19:32 ` [PATCH bpf-next v1 1/2] bpf: " Kumar Kartikeya Dwivedi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kumar Kartikeya Dwivedi @ 2026-08-23 19:31 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	Eduard Zingerman, Emil Tsalapatis, kkd, kernel-team

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


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

end of thread, other threads:[~2026-08-25 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-23 19:31 [PATCH bpf-next v1 0/2] Reject oversized stream read buffers Kumar Kartikeya Dwivedi
2026-08-23 19:32 ` [PATCH bpf-next v1 1/2] bpf: " Kumar Kartikeya Dwivedi
2026-08-23 19:39   ` sashiko-bot
2026-08-23 19:59     ` Kumar Kartikeya Dwivedi
2026-08-23 19:32 ` [PATCH bpf-next v1 2/2] selftests/bpf: Cover " Kumar Kartikeya Dwivedi
2026-08-25 15:10 ` [PATCH bpf-next v1 0/2] Reject " 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