From: patchwork-bot+netdevbpf@kernel.org
To: Eduard Zingerman <eddyz87@gmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
daniel@iogearbox.net, martin.lau@linux.dev, kernel-team@fb.com,
yonghong.song@linux.dev,
syzbot+7e46cdef14bf496a3ab4@syzkaller.appspotmail.com
Subject: Re: [PATCH bpf v2 1/2] bpf: force checkpoint when jmp history is too long
Date: Tue, 29 Oct 2024 18:50:33 +0000 [thread overview]
Message-ID: <173022783352.787364.14183224290672600419.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20241029172641.1042523-1-eddyz87@gmail.com>
Hello:
This series was applied to bpf/bpf.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Tue, 29 Oct 2024 10:26:40 -0700 you wrote:
> A specifically crafted program might trick verifier into growing very
> long jump history within a single bpf_verifier_state instance.
> Very long jump history makes mark_chain_precision() unreasonably slow,
> especially in case if verifier processes a loop.
>
> Mitigate this by forcing new state in is_state_visited() in case if
> current state's jump history is too long.
>
> [...]
Here is the summary with links:
- [bpf,v2,1/2] bpf: force checkpoint when jmp history is too long
https://git.kernel.org/bpf/bpf/c/aa30eb3260b2
- [bpf,v2,2/2] selftests/bpf: test with a very short loop
https://git.kernel.org/bpf/bpf/c/1fb315892d83
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
next prev parent reply other threads:[~2024-10-29 18:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 17:26 [PATCH bpf v2 1/2] bpf: force checkpoint when jmp history is too long Eduard Zingerman
2024-10-29 17:26 ` [PATCH bpf v2 2/2] selftests/bpf: test with a very short loop Eduard Zingerman
2024-10-29 18:50 ` patchwork-bot+netdevbpf [this message]
2024-10-29 18:52 ` [PATCH bpf v2 1/2] bpf: force checkpoint when jmp history is too long Andrii Nakryiko
2025-03-04 21:23 ` Andrei Matei
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=173022783352.787364.14183224290672600419.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=eddyz87@gmail.com \
--cc=kernel-team@fb.com \
--cc=martin.lau@linux.dev \
--cc=syzbot+7e46cdef14bf496a3ab4@syzkaller.appspotmail.com \
--cc=yonghong.song@linux.dev \
/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