Re: [PATCH bpf-next v6 0/4] bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen

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

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@xxxxxxxxxx>:

On Thu, 11 May 2023 10:04:52 -0700 you wrote:
> optval larger than PAGE_SIZE leads to EFAULT if the BPF program
> isn't careful enough. This is often overlooked and might break
> completely unrelated socket options. Instead of EFAULT,
> let's ignore BPF program buffer changes. See the first patch for
> more info.
> 
> In addition, clearly document this corner case and reset optlen
> in our selftests (in case somebody copy-pastes from them).
> 
> [...]

Here is the summary with links:
  - [bpf-next,v6,1/4] bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
    https://git.kernel.org/bpf/bpf-next/c/29ebbba7d461
  - [bpf-next,v6,2/4] selftests/bpf: Update EFAULT {g,s}etsockopt selftests
    https://git.kernel.org/bpf/bpf-next/c/989a4a7dbff2
  - [bpf-next,v6,3/4] selftests/bpf: Correctly handle optlen > 4096
    https://git.kernel.org/bpf/bpf-next/c/e01b4a72f132
  - [bpf-next,v6,4/4] bpf: Document EFAULT changes for sockopt
    https://git.kernel.org/bpf/bpf-next/c/6b6a23d5d8e8

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