All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: kuba@kernel.org, pabeni@redhat.com, edumazet@google.com,
	daniel@iogearbox.net, ast@kernel.org, andrii@kernel.org,
	martin.lau@linux.dev, netdev@vger.kernel.org,
	bpf@vger.kernel.org
Subject: pull-request: bpf 2024-02-22
Date: Thu, 22 Feb 2024 00:18:26 +0100	[thread overview]
Message-ID: <20240221231826.1404-1-daniel@iogearbox.net> (raw)

Hi David, hi Jakub, hi Paolo, hi Eric,

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

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

The main changes are:

1) Fix a syzkaller-triggered oops when attempting to read the vsyscall
   page through bpf_probe_read_kernel and friends, from Hou Tao.

2) Fix a kernel panic due to uninitialized iter position pointer in
   bpf_iter_task, from Yafang Shao.

3) Fix a race between bpf_timer_cancel_and_free and bpf_timer_cancel,
   from Martin KaFai Lau.

4) Fix a xsk warning in skb_add_rx_frag() (under CONFIG_DEBUG_NET)
   due to incorrect truesize accounting, from Sebastian Andrzej Siewior.

5) Fix a NULL pointer dereference in sk_psock_verdict_data_ready,
   from Shigeru Yoshida.

6) Fix a resolve_btfids warning when bpf_cpumask symbol cannot be
   resolved, from Hari Bathini.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Thanks a lot!

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

David Vernet, Hou Tao, Jiri Olsa, John Fastabend, Maciej Fijalkowski, 
Oleg Nesterov, Quentin Monnet, Sohil Mehta, Stanislav Fomichev, Thomas 
Gleixner, xingwei lee, Yonghong Song

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

The following changes since commit 577e4432f3ac810049cb7e6b71f4d96ec7c6e894:

  tcp: add sanity checks to rx zerocopy (2024-01-29 12:07:35 +0000)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

for you to fetch changes up to 4cd12c6065dfcdeba10f49949bffcf383b3952d8:

  bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready() (2024-02-21 17:15:23 +0100)

----------------------------------------------------------------
bpf-for-netdev

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'fix-the-read-of-vsyscall-page-through-bpf'

Gianmarco Lusvardi (1):
      bpf, scripts: Correct GPL license name

Hari Bathini (1):
      bpf: Fix warning for bpf_cpumask in verifier

Hou Tao (3):
      x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h
      x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault()
      selftest/bpf: Test the read of vsyscall page under x86-64

Martin KaFai Lau (2):
      bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel
      selftests/bpf: Test racing between bpf_timer_cancel_and_free and bpf_timer_cancel

Sebastian Andrzej Siewior (1):
      xsk: Add truesize to skb_add_rx_frag().

Shigeru Yoshida (1):
      bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready()

Yafang Shao (2):
      bpf: Fix an issue due to uninitialized bpf_iter_task
      selftests/bpf: Add negtive test cases for task iter

 arch/x86/include/asm/vsyscall.h                    | 10 ++++
 arch/x86/mm/fault.c                                |  9 ----
 arch/x86/mm/maccess.c                              | 10 ++++
 kernel/bpf/helpers.c                               |  5 +-
 kernel/bpf/task_iter.c                             |  2 +
 kernel/bpf/verifier.c                              |  2 +
 net/core/skmsg.c                                   |  7 ++-
 net/xdp/xsk.c                                      |  3 +-
 scripts/bpf_doc.py                                 |  2 +-
 tools/testing/selftests/bpf/prog_tests/iters.c     |  1 +
 .../selftests/bpf/prog_tests/read_vsyscall.c       | 57 ++++++++++++++++++++++
 tools/testing/selftests/bpf/prog_tests/timer.c     | 35 ++++++++++++-
 tools/testing/selftests/bpf/progs/iters_task.c     | 12 ++++-
 tools/testing/selftests/bpf/progs/read_vsyscall.c  | 45 +++++++++++++++++
 tools/testing/selftests/bpf/progs/timer.c          | 34 ++++++++++++-
 15 files changed, 217 insertions(+), 17 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/read_vsyscall.c
 create mode 100644 tools/testing/selftests/bpf/progs/read_vsyscall.c

                 reply	other threads:[~2024-02-21 23:18 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=20240221231826.1404-1-daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.