public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH stable 6.12 0/6] bpf: Fix bounds when ranges cross sign boundary
@ 2026-04-04  8:08 Paul Chaignon
  2026-04-04  8:10 ` [PATCH stable 6.12 1/6] bpf: Improve bounds when s64 crosses " Paul Chaignon
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Paul Chaignon @ 2026-04-04  8:08 UTC (permalink / raw)
  To: stable
  Cc: Greg Kroah-Hartman, Eduard Zingerman, Shung-Hsi Yu,
	Alexei Starovoitov

As discussed in [1], this series backports two sets of fixes for BPF,
with their selftests:
- 00bf8d0c6c9b ("bpf: Improve bounds when s64 crosses sign boundary")
- 26e5e346a52c ("selftests/bpf: Test cross-sign 64bits range
  refinement")
- f96841bbf4a1 ("selftests/bpf: Test invariants on JSLT crossing sign")
- 5dbb19b16ac4 ("bpf: Add third round of bounds deduction")
- fbc7aef517d8 ("bpf: Fix u32/s32 bounds when ranges cross min/max
  boundary")
- f81fdfd16771 ("selftests/bpf: test refining u32/s32 bounds when
  ranges cross min/max boundary")

Using Shung-Hsi's stable CI repo [2], I verified the BPF selftests pass
with these commits applied on top of v6.12.

1: https://lore.kernel.org/stable/2026040240-friday-gurgling-7088@gregkh/
2: https://github.com/pchaigno/stable-bpf-ci/actions/runs/23940850516/job/69826632354

Eduard Zingerman (2):
  bpf: Fix u32/s32 bounds when ranges cross min/max boundary
  selftests/bpf: test refining u32/s32 bounds when ranges cross min/max
    boundary

Paul Chaignon (4):
  bpf: Improve bounds when s64 crosses sign boundary
  selftests/bpf: Test cross-sign 64bits range refinement
  selftests/bpf: Test invariants on JSLT crossing sign
  bpf: Add third round of bounds deduction

 kernel/bpf/verifier.c                         |  77 +++++++++
 .../selftests/bpf/prog_tests/reg_bounds.c     |  62 ++++++-
 .../selftests/bpf/progs/verifier_bounds.c     | 159 +++++++++++++++++-
 3 files changed, 292 insertions(+), 6 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH stable 6.6 0/6] bpf: Fix bounds when ranges cross sign boundary
@ 2026-04-03 15:33 Paul Chaignon
  2026-04-04  7:58 ` [PATCH stable 6.12 " Paul Chaignon
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Chaignon @ 2026-04-03 15:33 UTC (permalink / raw)
  To: stable
  Cc: Greg Kroah-Hartman, Eduard Zingerman, Alexei Starovoitov,
	Shung-Hsi Yu

As discussed in [1] yesterday, this series backports two sets of fixes
for BPF, with their selftests:
- 00bf8d0c6c9b ("bpf: Improve bounds when s64 crosses sign boundary")
- 26e5e346a52c ("selftests/bpf: Test cross-sign 64bits range
  refinement")
- f96841bbf4a1 ("selftests/bpf: Test invariants on JSLT crossing sign")
- 5dbb19b16ac4 ("bpf: Add third round of bounds deduction")
- fbc7aef517d8 ("bpf: Fix u32/s32 bounds when ranges cross min/max
  boundary")
- f81fdfd16771 ("selftests/bpf: test refining u32/s32 bounds when
  ranges cross min/max boundary")

Using Shung-Hsi's stable CI repo [2], I verified the BPF selftests pass
with these commits applied on top of v6.12.

1: https://lore.kernel.org/stable/2026040240-friday-gurgling-7088@gregkh/
2: https://github.com/pchaigno/stable-bpf-ci/actions/runs/23940850516/job/69826632354

Eduard Zingerman (2):
  bpf: Fix u32/s32 bounds when ranges cross min/max boundary
  selftests/bpf: test refining u32/s32 bounds when ranges cross min/max
    boundary

Paul Chaignon (4):
  bpf: Improve bounds when s64 crosses sign boundary
  selftests/bpf: Test cross-sign 64bits range refinement
  selftests/bpf: Test invariants on JSLT crossing sign
  bpf: Add third round of bounds deduction

 kernel/bpf/verifier.c                         |  77 +++++++++
 .../selftests/bpf/prog_tests/reg_bounds.c     |  62 ++++++-
 .../selftests/bpf/progs/verifier_bounds.c     | 159 +++++++++++++++++-
 3 files changed, 292 insertions(+), 6 deletions(-)

-- 
2.43.0


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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-04  8:08 [PATCH stable 6.12 0/6] bpf: Fix bounds when ranges cross sign boundary Paul Chaignon
2026-04-04  8:10 ` [PATCH stable 6.12 1/6] bpf: Improve bounds when s64 crosses " Paul Chaignon
2026-04-04  8:11 ` [PATCH stable 6.12 2/6] selftests/bpf: Test cross-sign 64bits range refinement Paul Chaignon
2026-04-04  8:12 ` [PATCH stable 6.12 3/6] selftests/bpf: Test invariants on JSLT crossing sign Paul Chaignon
2026-04-04  8:13 ` [PATCH stable 6.12 4/6] bpf: Add third round of bounds deduction Paul Chaignon
2026-04-04  8:14 ` [PATCH stable 6.12 5/6] bpf: Fix u32/s32 bounds when ranges cross min/max boundary Paul Chaignon
2026-04-04  8:15 ` [PATCH stable 6.12 6/6] selftests/bpf: test refining " Paul Chaignon
  -- strict thread matches above, loose matches on Subject: below --
2026-04-03 15:33 [PATCH stable 6.6 0/6] bpf: Fix bounds when ranges cross sign boundary Paul Chaignon
2026-04-04  7:58 ` [PATCH stable 6.12 " Paul Chaignon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox