All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.14 0/3] bpf: fix CVE-2021-4159
@ 2022-09-06 15:38 Ovidiu Panait
  2022-09-06 15:38 ` [PATCH 4.14 1/3] bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds() Ovidiu Panait
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ovidiu Panait @ 2022-09-06 15:38 UTC (permalink / raw)
  To: stable; +Cc: Ovidiu Panait

All test_verifier/test_align selftests pass in qemu for x86-64 with this
series applied:
root@intel-x86-64:~# ./test_verifier
...
#433/p xadd/w check unaligned pkt OK
#434/p pass unmodified ctx pointer to helper OK
#435/p pass modified ctx pointer to helper, 1 OK
#436/u pass modified ctx pointer to helper, 2 OK
#436/p pass modified ctx pointer to helper, 2 OK
#437/p pass modified ctx pointer to helper, 3 OK
Summary: 667 PASSED, 0 FAILED

root@intel-x86-64:~# ./test_align
Test   0: mov ... PASS
Test   1: shift ... PASS
Test   2: addsub ... PASS
Test   3: mul ... PASS
Test   4: unknown shift ... PASS
Test   5: unknown mul ... PASS
Test   6: packet const offset ... PASS
Test   7: packet variable offset ... PASS
Test   8: packet variable offset 2 ... PASS
Test   9: dubious pointer arithmetic ... PASS
Test  10: variable subtraction ... PASS
Test  11: pointer variable subtraction ... PASS
Results: 12 pass 0 fail


John Fastabend (1):
  bpf: Verifer, adjust_scalar_min_max_vals to always call
    update_reg_bounds()

Maxim Mikityanskiy (1):
  bpf: Fix the off-by-two error in range markings

Stanislav Fomichev (1):
  selftests/bpf: Fix test_align verifier log patterns

 kernel/bpf/verifier.c                       |  1 +
 tools/testing/selftests/bpf/test_align.c    | 27 +++++++++++----------
 tools/testing/selftests/bpf/test_verifier.c | 16 ++++++------
 3 files changed, 23 insertions(+), 21 deletions(-)

-- 
2.37.2


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

end of thread, other threads:[~2022-09-08 11:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-06 15:38 [PATCH 4.14 0/3] bpf: fix CVE-2021-4159 Ovidiu Panait
2022-09-06 15:38 ` [PATCH 4.14 1/3] bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds() Ovidiu Panait
2022-09-06 15:38 ` [PATCH 4.14 2/3] selftests/bpf: Fix test_align verifier log patterns Ovidiu Panait
2022-09-06 15:38 ` [PATCH 4.14 3/3] bpf: Fix the off-by-two error in range markings Ovidiu Panait
2022-09-08 11:56 ` [PATCH 4.14 0/3] bpf: fix CVE-2021-4159 Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.