[GIT PULL] BPF fixes for 6.16-rc4

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

 



Hi Linus,

The following changes since commit 9afe652958c3ee88f24df1e4a97f298afce89407:

  Merge tag 'x86_urgent_for_6.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2025-06-16 11:36:21 -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 5e9388f7984a9cc7e659a105113f6ccf0aebedd0:

  selftests/bpf: adapt one more case in test_lru_map to the new target_free (2025-06-25 15:19:36 -0700)

----------------------------------------------------------------
- Fix use-after-free in libbpf when map is resized (Adin Scannell)

- Fix verifier assumptions about 2nd argument of bpf_sysctl_get_name
  (Jerome Marchand)

- Fix verifier assumption of nullness of d_inode in dentry (Song Liu)

- Fix global starvation of LRU map (Willem de Bruijn)

- Fix potential NULL dereference in btf_dump__free (Yuan Chen)

Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
----------------------------------------------------------------
Adin Scannell (1):
      libbpf: Fix possible use-after-free for externs

Alexei Starovoitov (1):
      Merge branch 'bpf-specify-access-type-of-bpf_sysctl_get_name-args'

Jerome Marchand (2):
      bpf: Specify access type of bpf_sysctl_get_name args
      selftests/bpf: Convert test_sysctl to prog_tests

Song Liu (1):
      bpf: Mark dentry->d_inode as trusted_or_null

Willem de Bruijn (2):
      bpf: Adjust free target to avoid global starvation of LRU map
      selftests/bpf: adapt one more case in test_lru_map to the new target_free

Yuan Chen (1):
      libbpf: Fix null pointer dereference in btf_dump__free on allocation failure

 Documentation/bpf/map_hash.rst                     |   8 +-
 Documentation/bpf/map_lru_hash_update.dot          |   6 +-
 kernel/bpf/bpf_lru_list.c                          |   9 +-
 kernel/bpf/bpf_lru_list.h                          |   1 +
 kernel/bpf/cgroup.c                                |   2 +-
 kernel/bpf/verifier.c                              |   5 +-
 tools/lib/bpf/btf_dump.c                           |   3 +
 tools/lib/bpf/libbpf.c                             |  10 +-
 tools/testing/selftests/bpf/.gitignore             |   1 -
 tools/testing/selftests/bpf/Makefile               |   5 +-
 .../selftests/bpf/{ => prog_tests}/test_sysctl.c   |  37 ++------
 .../selftests/bpf/progs/test_global_map_resize.c   |  16 ++++
 .../selftests/bpf/progs/verifier_vfs_accept.c      |  18 ++++
 .../selftests/bpf/progs/verifier_vfs_reject.c      |  15 +++
 tools/testing/selftests/bpf/test_lru_map.c         | 105 +++++++++++----------
 15 files changed, 142 insertions(+), 99 deletions(-)
 rename tools/testing/selftests/bpf/{ => prog_tests}/test_sysctl.c (98%)




[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