bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Nakryiko <andrii@kernel.org>
To: <davem@davemloft.net>
Cc: <kuba@kernel.org>, <daniel@iogearbox.net>, <ast@kernel.org>,
	<netdev@vger.kernel.org>, <bpf@vger.kernel.org>,
	<andrii@kernel.org>
Subject: pull-request: bpf 2021-07-15
Date: Thu, 15 Jul 2021 14:06:03 -0700	[thread overview]
Message-ID: <20210715210603.276717-1-andrii@kernel.org> (raw)

Hi David, hi Jakub,

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

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

The main changes are:

1) Fix NULL pointer dereference in BPF_TEST_RUN for BPF_XDP_DEVMAP and
   BPF_XDP_CPUMAP programs, from Xuan Zhuo.

2) Fix use-after-free of net_device in XDP bpf_link, from Xuan Zhuo.

3) Follow-up fix to subprog poke descriptor use-after-free problem, from
   Daniel Borkmann and John Fastabend.

4) Fix out-of-range array access in s390 BPF JIT backend, from Colin Ian King.

5) Fix memory leak in BPF sockmap, from John Fastabend.

6) Fix for sockmap to prevent proc stats reporting bug, from John Fastabend
   and Jakub Sitnicki.

7) Fix NULL pointer dereference in bpftool, from Tobias Klauser.

8) AF_XDP documentation fixes, from Baruch Siach.

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:

Abaci, Andrii Nakryiko, Cong Wang, David Ahern, Dust Li, Ilya 
Leoshkevich, Jesper Dangaard Brouer, John Fastabend, Maciej Fijalkowski, 
Magnus Karlsson, Quentin Monnet, Roman Gushchin, Song Liu

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

The following changes since commit a5de4be0aaaa66a2fa98e8a33bdbed3bd0682804:

  net: phy: marvell10g: fix differentiation of 88X3310 from 88X3340 (2021-07-11 10:02:33 -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 d444b06e40855219ef38b5e9286db16d435f06dc:

  bpftool: Check malloc return value in mount_bpffs_for_pin (2021-07-15 20:01:36 +0200)

----------------------------------------------------------------
Baruch Siach (1):
      doc, af_xdp: Fix bind flags option typo

Colin Ian King (1):
      s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]

Daniel Borkmann (1):
      bpf: Fix tail_call_reachable rejection for interpreter when jit failed

Jakub Sitnicki (1):
      bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats

John Fastabend (2):
      bpf, sockmap: Fix potential memory leak on unlikely error case
      bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats

Tobias Klauser (1):
      bpftool: Check malloc return value in mount_bpffs_for_pin

Xuan Zhuo (2):
      bpf, test: fix NULL pointer dereference on invalid expected_attach_type
      xdp, net: Fix use-after-free in bpf_xdp_link_release

 Documentation/networking/af_xdp.rst |  6 +++---
 arch/s390/net/bpf_jit_comp.c        |  2 +-
 kernel/bpf/verifier.c               |  2 ++
 net/bpf/test_run.c                  |  3 +++
 net/core/dev.c                      | 14 ++++++++++----
 net/core/skmsg.c                    | 16 +++++++++++-----
 net/ipv4/tcp_bpf.c                  |  2 +-
 net/ipv4/udp_bpf.c                  |  2 +-
 tools/bpf/bpftool/common.c          |  5 +++++
 9 files changed, 37 insertions(+), 15 deletions(-)

                 reply	other threads:[~2021-07-15 21:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210715210603.276717-1-andrii@kernel.org \
    --to=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).