Netdev Archive on lore.kernel.org
 help / color / Atom feed
* pull-request: bpf 2021-05-04
@ 2021-05-03 22:47 Daniel Borkmann
  0 siblings, 0 replies; only message in thread
From: Daniel Borkmann @ 2021-05-03 22:47 UTC (permalink / raw)
  To: davem; +Cc: kuba, daniel, ast, andrii.nakryiko, netdev, bpf

Hi David, hi Jakub,

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

We've added 5 non-merge commits during the last 4 day(s) which contain
a total of 6 files changed, 52 insertions(+), 30 deletions(-).

The main changes are:

1) Fix libbpf overflow when processing BPF ring buffer in case of extreme
   application behavior, from Brendan Jackman.

2) Fix potential data leakage of uninitialized BPF stack under speculative
   execution, from Daniel Borkmann.

3) Fix off-by-one when validating xsk pool chunks, from Xuan Zhuo.

4) Fix snprintf BPF selftest with a pid filter to avoid racing its output
   test buffer, from Florent Revest.

Please consider pulling these changes from:

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

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Alexei Starovoitov, Andrii Nakryiko, John Fastabend, Magnus Karlsson, 
Piotr Krysiuk

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

The following changes since commit d4eecfb28b963493a8701f271789ff04e92ae205:

  net: dsa: ksz: ksz8863_smi_probe: set proper return value for ksz_switch_alloc() (2021-04-29 15:54:35 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ac31565c21937eee9117e43c9cd34f557f6f1cb8:

  xsk: Fix for xp_aligned_validate_desc() when len == chunk_size (2021-05-04 00:28:06 +0200)

----------------------------------------------------------------
Brendan Jackman (1):
      libbpf: Fix signed overflow in ringbuf_process_ring

Daniel Borkmann (2):
      bpf: Fix masking negation logic upon negative dst register
      bpf: Fix leakage of uninitialized bpf stack under speculation

Florent Revest (1):
      selftests/bpf: Fix the snprintf test

Xuan Zhuo (1):
      xsk: Fix for xp_aligned_validate_desc() when len == chunk_size

 include/linux/bpf_verifier.h                      |  5 ++--
 kernel/bpf/verifier.c                             | 33 ++++++++++++-----------
 net/xdp/xsk_queue.h                               |  7 +++--
 tools/lib/bpf/ringbuf.c                           | 30 ++++++++++++++-------
 tools/testing/selftests/bpf/prog_tests/snprintf.c |  2 ++
 tools/testing/selftests/bpf/progs/test_snprintf.c |  5 ++++
 6 files changed, 52 insertions(+), 30 deletions(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 22:47 pull-request: bpf 2021-05-04 Daniel Borkmann

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git