Skip to content

BPF stable patches for 4.14

Daniel Borkmann stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/14bpf: fix branch pruning logicinclude/linux/bpf_verifier.h kernel/bpf/verifier.c+28 -11 reply
2/14bpf: fix corruption on concurrent perf_event_output callskernel/trace/bpf_trace.c+12 -71 reply
3/14bpf, s390x: do not reload skb pointers in non-skb contextarch/s390/net/bpf_jit_comp.c+5 -61 reply
4/14bpf, ppc64: do not reload skb pointers in non-skb contextarch/powerpc/net/bpf_jit_comp64.c+4 -21 reply
5/14bpf, sparc: fix usage of wrong reg for load_skb_regs after callarch/sparc/net/bpf_jit_comp_64.c+4 -21 reply
6/14bpf/verifier: fix bounds calculation on BPF_RSHkernel/bpf/verifier.c+16 -141 reply
7/14bpf: fix incorrect sign extension in check_alu_op()kernel/bpf/verifier.c+7 -11 reply
8/14bpf: fix incorrect tracking of register size truncationkernel/bpf/verifier.c+27 -171 reply
9/14bpf: fix 32-bit ALU op verificationkernel/bpf/verifier.c+17 -111 reply
10/14bpf: fix missing error return in check_stack_boundary()kernel/bpf/verifier.c+1 -01 reply
11/14bpf: force strict alignment checks for stack pointerskernel/bpf/verifier.c+5 -01 reply
12/14bpf: don't prune branches when a scalar is replaced with a pointerkernel/bpf/verifier.c+7 -81 reply
13/14bpf: fix integer overflowsinclude/linux/bpf_verifier.h kernel/bpf/verifier.c+50 -21 reply
14/14selftests/bpf: add tests for recent bugfixestools/testing/selftests/bpf/test_verifier.c+533 -161 reply

Reviews trailers per patch

8 of 14 patches have a Reviewed-by or Acked-by.

PatchDaniel BorkmannSong LiuAlexei StarovoitovNaveen N. RaoSandipan DasDavid S. MillerEdward Cree
1/14A-b A-b
2/14T-b T-b A-b A-b
3/14A-b A-b
4/14A-b A-b R-b R-b T-b T-b
5/14A-b A-b A-b A-b
6/14A-b A-b
7/14A-b A-b
8/14A-b A-b
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH stable/4.14 00/14] BPF stable patches for 4.14

Hi Greg,

please consider the following backported fixes for 4.14 inclusion.

Thanks a lot!

Alexei Starovoitov (2):
bpf: fix branch pruning logic
bpf: fix integer overflows

Daniel Borkmann (4):
bpf: fix corruption on concurrent perf_event_output calls bpf, s390x: do not reload skb pointers in non-skb context bpf, ppc64: do not reload skb pointers in non-skb context bpf, sparc: fix usage of wrong reg for load_skb_regs after call

Edward Cree (1):
bpf/verifier: fix bounds calculation on BPF_RSH

Jann Horn (7):
bpf: fix incorrect sign extension in check_alu_op()
bpf: fix incorrect tracking of register size truncation
bpf: fix 32-bit ALU op verification
bpf: fix missing error return in check_stack_boundary()
bpf: force strict alignment checks for stack pointers
bpf: don't prune branches when a scalar is replaced with a pointer selftests/bpf: add tests for recent bugfixes

 arch/powerpc/net/bpf_jit_comp64.c           |   6 +-
 arch/s390/net/bpf_jit_comp.c                |  11 +-
 arch/sparc/net/bpf_jit_comp_64.c            |   6 +-
 include/linux/bpf_verifier.h                |   6 +-
 kernel/bpf/verifier.c                       | 202 +++++++---
 kernel/trace/bpf_trace.c                    |  19 +-
 tools/testing/selftests/bpf/test_verifier.c | 549 +++++++++++++++++++++++++++-
 7 files changed, 714 insertions(+), 85 deletions(-)
Signature · 1 line
2.9.5