[GIT PULL] BPF fixes for 6.17-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linus,

The following changes since commit d6084bb815c453de27af8071a23163a711586a6c:

  Merge tag 'fsnotify_for_v6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs (2025-07-31 10:31:00 -0700)

are available in the Git repository at:

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

for you to fetch changes up to d8d2d9d12f141302aaec3ff9a3a8cbed4ac0546c:

  selftests/bpf: Test for unaligned flow_dissector ctx access (2025-08-01 14:47:39 -0700)

----------------------------------------------------------------
- Fix kCFI failures in JITed BPF code on arm64
  (Sami Tolvanen, Puranjay Mohan, Mark Rutland, Maxwell Bland)

- Disallow tail calls between BPF programs that use different
  cgroup local storage maps to prevent out-of-bounds access
  (Daniel Borkmann)

- Fix unaligned access in flow_dissector and netfilter BPF
  programs (Paul Chaignon)

- Avoid possible use of uninitialized mod_len in libbpf
  (Achill Gilgenast)

Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
----------------------------------------------------------------
Achill Gilgenast (1):
      libbpf: Avoid possible use of uninitialized mod_len

Alexei Starovoitov (1):
      Merge branch 'support-kcfi-bpf-on-arm64'

Daniel Borkmann (4):
      bpf: Add cookie object to bpf maps
      bpf: Move bpf map owner out of common struct
      bpf: Move cgroup iterator helpers to bpf.h
      bpf: Fix oob access in cgroup local storage

Mark Rutland (1):
      cfi: add C CFI type macro

Paul Chaignon (4):
      bpf: Check flow_dissector ctx accesses are aligned
      bpf: Check netfilter ctx accesses are aligned
      bpf: Improve ctx access verifier error message
      selftests/bpf: Test for unaligned flow_dissector ctx access

Puranjay Mohan (1):
      arm64/cfi,bpf: Support kCFI + BPF on arm64

Sami Tolvanen (1):
      cfi: Move BPF CFI types and helpers to generic code

 arch/arm64/include/asm/cfi.h                     |  7 +++
 arch/arm64/net/bpf_jit_comp.c                    | 30 ++++++++++--
 arch/riscv/include/asm/cfi.h                     | 16 -------
 arch/riscv/kernel/cfi.c                          | 53 ---------------------
 arch/x86/include/asm/cfi.h                       | 10 +---
 arch/x86/kernel/alternative.c                    | 37 ---------------
 include/linux/bpf-cgroup.h                       |  5 --
 include/linux/bpf.h                              | 60 ++++++++++++++++--------
 include/linux/cfi.h                              | 47 +++++++++++++++----
 include/linux/cfi_types.h                        | 23 +++++++++
 kernel/bpf/core.c                                | 50 +++++++++++++-------
 kernel/bpf/syscall.c                             | 19 +++++---
 kernel/bpf/verifier.c                            |  2 +-
 kernel/cfi.c                                     | 15 ++++++
 net/core/filter.c                                |  3 ++
 net/netfilter/nf_bpf_link.c                      |  3 ++
 tools/lib/bpf/libbpf.c                           |  2 +-
 tools/testing/selftests/bpf/progs/verifier_ctx.c | 23 ++++++++-
 18 files changed, 229 insertions(+), 176 deletions(-)
 create mode 100644 arch/arm64/include/asm/cfi.h




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux