From: patchwork-bot+netdevbpf@kernel.org
To: Xu Kuohai <xukuohai@huaweicloud.com>
Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org,
ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org,
martin.lau@linux.dev, eddyz87@gmail.com, memxor@gmail.com,
yonghong.song@linux.dev, sdf@fomichev.me, zhuyifei@google.com,
mattbobrowski@google.com, 2022090917019@std.uestc.edu.cn
Subject: Re: [PATCH bpf-next v5 0/3] Add validation for bpf_set_retval helper
Date: Fri, 05 Jun 2026 23:00:16 +0000 [thread overview]
Message-ID: <178070041689.3950549.14630927515894773480.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260605140243.664590-1-xukuohai@huaweicloud.com>
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Fri, 5 Jun 2026 14:02:40 +0000 you wrote:
> From: Xu Kuohai <xukuohai@huawei.com>
>
> The bpf_set_retval() helper is used by cgroup BPF programs to set the
> return value of the kernel hook. The argument type for this helper is
> ARG_ANYTHING. This allows setting a positive value, which no cgroup
> hook expects and can cause issues, such as the kernel panic reported
> in [1].
>
> [...]
Here is the summary with links:
- [bpf-next,v5,1/3] selftests/bpf: Restrict bpf_set_retval argument in sk_bypass_prot_mem
https://git.kernel.org/bpf/bpf-next/c/6fa2839893e3
- [bpf-next,v5,2/3] bpf: Add validation for bpf_set_retval argument
https://git.kernel.org/bpf/bpf-next/c/b1f7f67b74c2
- [bpf-next,v5,3/3] selftests/bpf: Add tests for bpf_set_retval validation
https://git.kernel.org/bpf/bpf-next/c/7913cdb54ee3
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:[~2026-06-05 23:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 14:02 [PATCH bpf-next v5 0/3] Add validation for bpf_set_retval helper Xu Kuohai
2026-06-05 14:02 ` [PATCH bpf-next v5 1/3] selftests/bpf: Restrict bpf_set_retval argument in sk_bypass_prot_mem Xu Kuohai
2026-06-05 15:19 ` bot+bpf-ci
2026-06-05 14:02 ` [PATCH bpf-next v5 2/3] bpf: Add validation for bpf_set_retval argument Xu Kuohai
2026-06-05 14:42 ` sashiko-bot
2026-06-05 15:19 ` bot+bpf-ci
2026-06-06 10:02 ` Xu Kuohai
2026-06-05 14:02 ` [PATCH bpf-next v5 3/3] selftests/bpf: Add tests for bpf_set_retval validation Xu Kuohai
2026-06-05 23:00 ` 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=178070041689.3950549.14630927515894773480.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=2022090917019@std.uestc.edu.cn \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=mattbobrowski@google.com \
--cc=memxor@gmail.com \
--cc=sdf@fomichev.me \
--cc=xukuohai@huaweicloud.com \
--cc=yonghong.song@linux.dev \
--cc=zhuyifei@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.