From: patchwork-bot+netdevbpf@kernel.org
To: Friedrich Vock <friedrich.vock@gmx.de>
Cc: bpf@vger.kernel.org, jolsa@kernel.org
Subject: Re: [PATCH] bpf: Fix potential integer overflow in resolve_btfids
Date: Fri, 24 May 2024 15:20:28 +0000 [thread overview]
Message-ID: <171656402886.10818.5119298803086804983.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20240514070931.199694-1-friedrich.vock@gmx.de>
Hello:
This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:
On Tue, 14 May 2024 09:09:31 +0200 you wrote:
> err is a 32-bit integer, but elf_update returns an off_t, which is
> 64-bit at least on 64-bit platforms. If symbols_patch is called on a
> binary between 2-4GB in size, the result will be negative when cast to
> a 32-bit integer, which the code assumes means an error occurred. This
> can wrongly trigger build failures when building very large kernel
> images.
>
> [...]
Here is the summary with links:
- bpf: Fix potential integer overflow in resolve_btfids
https://git.kernel.org/bpf/bpf/c/44382b3ed6b2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2024-05-24 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 7:09 [PATCH] bpf: Fix potential integer overflow in resolve_btfids Friedrich Vock
2024-05-24 15:20 ` 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=171656402886.10818.5119298803086804983.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=friedrich.vock@gmx.de \
--cc=jolsa@kernel.org \
/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