Skip to contentSkip to conversation

pull-request: bpf 2024-07-09

DISCUSSION Applied Daniel Borkmann 2 participants 2 messages Jul 9, 2024

Subsystems (3)
lore
Share & tools
lore

Daniel Borkmann

author maintainer
#0 lore raw

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

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

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

The main changes are:

1) Fix a use-after-free in a corner case where tcx_entry got released too early. Also add BPF test coverage along with the fix, from Daniel Borkmann.

2) Fix a kernel panic on Loongarch in sk_msg_recvmsg() which got triggered by running BPF sockmap selftests, from Geliang Tang.

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:

John Fastabend, Pedro Pinto

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

The following changes since commit 83c36e7cfd74e41a5c145640dba581b38f12aa15:

docs: networking: devlink: capitalise length value (2024-07-08 13:39:07 +0100)

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 f0c18025693707ec344a70b6887f7450bf4c826b:

skmsg: Skip zero length skb in sk_msg_recvmsg (2024-07-09 10:24:50 +0200)

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

----------------------------------------------------------------
Daniel Borkmann (2):
bpf: Fix too early release of tcx_entry selftests/bpf: Extend tcx tests to cover late tcx_entry release

Geliang Tang (1):
skmsg: Skip zero length skb in sk_msg_recvmsg

 include/net/tcx.h                                 | 13 +++--
 net/core/skmsg.c                                  |  3 +-
 net/sched/sch_ingress.c                           | 12 ++---
 tools/testing/selftests/bpf/config                |  3 ++
 tools/testing/selftests/bpf/prog_tests/tc_links.c | 61 +++++++++++++++++++++++
 5 files changed, 81 insertions(+), 11 deletions(-)
#1 lore raw
This pull request was applied to bpf/bpf.git (master) by Paolo Abeni <[email protected]>:

Hello:

This pull request was applied to bpf/bpf.git (master) by Paolo Abeni <[email protected]>:

Quoted 8 lines · On Tue, 9 Jul 2024 11:14:52 +0200 you wrote:

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

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

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

[...]

Here is the summary with links:
- pull-request: bpf 2024-07-09

    https://git.kernel.org/bpf/bpf/c/528269fe117f

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html