From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: pull-request: bpf 2018-05-05 Date: Sat, 5 May 2018 00:21:47 +0200 Message-ID: <20180504222147.18850-1-daniel@iogearbox.net> Cc: daniel@iogearbox.net, ast@kernel.org, netdev@vger.kernel.org To: davem@davemloft.net Return-path: Received: from www62.your-server.de ([213.133.104.62]:60733 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751622AbeEDWVt (ORCPT ); Fri, 4 May 2018 18:21:49 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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(-)