Skip to contentSkip to conversation

pull-request: bpf 2018-05-05

DISCUSSION Daniel Borkmann 2 participants 2 messages May 4, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi David,

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Sanitize attr->{prog,map}_type from bpf(2) since used as an array index to retrieve prog/map specific ops such that we prevent potential out of bounds value under speculation, from Mark and Daniel.

Please consider pulling these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

----------------------------------------------------------------

The following changes since commit a8d7aa17bbc970971ccdf71988ea19230ab368b1:

dccp: fix tasklet usage (2018-05-03 15:14:57 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

for you to fetch changes up to d0f1a451e33d9ca834422622da30aa68daade56b:

bpf: use array_index_nospec in find_prog_type (2018-05-03 19:29:35 -0700)

----------------------------------------------------------------
Daniel Borkmann (1):
bpf: use array_index_nospec in find_prog_type

Mark Rutland (1):
bpf: fix possible spectre-v1 in find_and_alloc_map()

 kernel/bpf/syscall.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
maintainer
#1 lore raw

From: Daniel Borkmann <[email protected]>
Date: Sat, 5 May 2018 00:21:47 +0200

Quoted 11 lines

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Sanitize attr->{prog,map}_type from bpf(2) since used as an array index to retrieve prog/map specific ops such that we prevent potential out of bounds value under speculation, from Mark and Daniel.

Please consider pulling these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.