From: patchwork-bot+netdevbpf@kernel.org
To: Joanne Koong <joannelkoong@gmail.com>
Cc: bpf@vger.kernel.org, kafai@fb.com, void@manifault.com,
andrii@kernel.org, daniel@iogearbox.net, ast@kernel.org
Subject: Re: [PATCH bpf-next v4 1/2] bpf: Fix ref_obj_id for dynptr data slices in verifier
Date: Wed, 10 Aug 2022 01:50:13 +0000 [thread overview]
Message-ID: <166009621388.24923.13609210453560307154.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220809214055.4050604-1-joannelkoong@gmail.com>
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Tue, 9 Aug 2022 14:40:54 -0700 you wrote:
> When a data slice is obtained from a dynptr (through the bpf_dynptr_data API),
> the ref obj id of the dynptr must be found and then associated with the data
> slice.
>
> The ref obj id of the dynptr must be found *before* the caller saved regs are
> reset. Without this fix, the ref obj id tracking is not correct for
> dynptrs that are at an offset from the frame pointer.
>
> [...]
Here is the summary with links:
- [bpf-next,v4,1/2] bpf: Fix ref_obj_id for dynptr data slices in verifier
https://git.kernel.org/bpf/bpf-next/c/883743422ced
- [bpf-next,v4,2/2] selftests/bpf: add extra test for using dynptr data slice after release
https://git.kernel.org/bpf/bpf-next/c/dc444be8bae4
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:[~2022-08-10 1:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 21:40 [PATCH bpf-next v4 1/2] bpf: Fix ref_obj_id for dynptr data slices in verifier Joanne Koong
2022-08-09 21:40 ` [PATCH bpf-next v4 2/2] selftests/bpf: add extra test for using dynptr data slice after release Joanne Koong
2022-08-09 22:37 ` [PATCH bpf-next v4 1/2] bpf: Fix ref_obj_id for dynptr data slices in verifier David Vernet
2022-08-10 1:42 ` Alexei Starovoitov
2022-08-10 1:50 ` 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=166009621388.24923.13609210453560307154.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=joannelkoong@gmail.com \
--cc=kafai@fb.com \
--cc=void@manifault.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