Re: [PATCH bpf v2 0/9] fixes for bpf map iterator

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

 



Hello:

This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 10 Aug 2022 16:05:29 +0800 you wrote:
> From: Hou Tao <houtao1@xxxxxxxxxx>
> 
> Hi,
> 
> The patchset constitues three fixes for bpf map iterator:
> 
> (1) patch 1~4: fix user-after-free during reading map iterator fd
> It is possible when both the corresponding link fd and map fd are
> closed bfore reading the iterator fd. I had squashed these four patches
> into one, but it was not friendly for stable backport, so I break these
> fixes into four single patches in the end. Patch 7 is its testing patch.
> 
> [...]

Here is the summary with links:
  - [bpf,v2,1/9] bpf: Acquire map uref in .init_seq_private for array map iterator
    https://git.kernel.org/bpf/bpf/c/f76fa6b33805
  - [bpf,v2,2/9] bpf: Acquire map uref in .init_seq_private for hash map iterator
    https://git.kernel.org/bpf/bpf/c/ef1e93d2eeb5
  - [bpf,v2,3/9] bpf: Acquire map uref in .init_seq_private for sock local storage map iterator
    https://git.kernel.org/bpf/bpf/c/3c5f6e698b5c
  - [bpf,v2,4/9] bpf: Acquire map uref in .init_seq_private for sock{map,hash} iterator
    https://git.kernel.org/bpf/bpf/c/f0d2b2716d71
  - [bpf,v2,5/9] bpf: Check the validity of max_rdwr_access for sock local storage map iterator
    https://git.kernel.org/bpf/bpf/c/52bd05eb7c88
  - [bpf,v2,6/9] bpf: Only allow sleepable program for resched-able iterator
    https://git.kernel.org/bpf/bpf/c/d247049f4fd0
  - [bpf,v2,7/9] selftests/bpf: Add tests for reading a dangling map iter fd
    https://git.kernel.org/bpf/bpf/c/5836d81e4b03
  - [bpf,v2,8/9] selftests/bpf: Add write tests for sk local storage map iterator
    https://git.kernel.org/bpf/bpf/c/939a1a946d75
  - [bpf,v2,9/9] selftests/bpf: Ensure sleepable program is rejected by hash map iter
    https://git.kernel.org/bpf/bpf/c/c5c0981fd81d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[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