BPF List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Andrii Nakryiko <andrii@kernel.org>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	kernel-team@fb.com
Subject: Re: [PATCH bpf-next] libbpf: fix potential uninit memory read
Date: Tue, 14 Dec 2021 14:40:09 +0000	[thread overview]
Message-ID: <163949280904.1632.11298824485639622358.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20211214010032.3843804-1-andrii@kernel.org>

Hello:

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

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



      reply	other threads:[~2021-12-14 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14  1:00 [PATCH bpf-next] libbpf: fix potential uninit memory read Andrii Nakryiko
2021-12-14 14:40 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=163949280904.1632.11298824485639622358.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=kernel-team@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox