public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/3] Fix garbage data in task local data
@ 2026-04-13 19:02 Amery Hung
  2026-04-13 19:02 ` [PATCH bpf-next v1 1/3] selftests/bpf: Prevent allocating data larger than a page Amery Hung
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Amery Hung @ 2026-04-13 19:02 UTC (permalink / raw)
  To: bpf
  Cc: alexei.starovoitov, andrii, daniel, eddyz87, memxor, yatsenko,
	ameryhung, kernel-team

Hi,

The patchset fixes two scenarios where BPF side task local data API may
see garbage data and adds corresponding selftests.


Amery Hung (3):
  selftests/bpf: Prevent allocating data larger than a page
  selftests/bpf: Fix tld_get_data() returning garbage data
  selftests/bpf: Test small task local data allocation

 .../bpf/prog_tests/task_local_data.h          | 13 ++-
 .../bpf/prog_tests/test_task_local_data.c     | 96 +++++++++++++++++--
 .../selftests/bpf/progs/task_local_data.bpf.h |  5 +-
 3 files changed, 100 insertions(+), 14 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-04-15 19:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-13 19:02 [PATCH bpf-next v1 0/3] Fix garbage data in task local data Amery Hung
2026-04-13 19:02 ` [PATCH bpf-next v1 1/3] selftests/bpf: Prevent allocating data larger than a page Amery Hung
2026-04-13 19:02 ` [PATCH bpf-next v1 2/3] selftests/bpf: Fix tld_get_data() returning garbage data Amery Hung
2026-04-13 19:02 ` [PATCH bpf-next v1 3/3] selftests/bpf: Test small task local data allocation Amery Hung
2026-04-15 19:20 ` [PATCH bpf-next v1 0/3] Fix garbage data in task local data 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