Re: [PATCH bpf-next] libbpf: fix potential uninit memory read

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Mon, 13 Dec 2021 17:00:32 -0800 you wrote:
> In case of BPF_CORE_TYPE_ID_LOCAL we fill out target result explicitly.
> But targ_res itself isn't initialized in such a case, and subsequent
> call to bpf_core_patch_insn() might read uninitialized field (like
> fail_memsz_adjust in this case). So ensure that targ_res is
> zero-initialized for BPF_CORE_TYPE_ID_LOCAL case.
> 
> This was reported by Coverity static analyzer.
> 
> [...]

Here is the summary with links:
  - [bpf-next] libbpf: fix potential uninit memory read
    https://git.kernel.org/bpf/bpf-next/c/4581e676d3be

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