Re: [PATCH v3 0/3] bpf: fix sysctl new-value handling in __cgroup_bpf_run_filter_sysctl

From: patchwork-bot+netdevbpf

Date: Fri Jun 05 2026 - 19:01:27 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 3 Jun 2026 18:53:14 +0800 you wrote:
> This series fixes three bugs in the sysctl write-buffer replacement path
> of __cgroup_bpf_run_filter_sysctl(). It resolves a kvzalloc()/kfree()
> mismatch, adds a missing NUL terminator to the replacement string, and
> updates a stale return value check to safely restore the replacement
> functionality.
>
> Patch Summary:
> - patch 1 NUL-terminates the replaced sysctl value
> - patch 2 uses kvfree() for the replaced sysctl write buffer
> - patch 3 restores sysctl new-value replacement
>
> [...]

Here is the summary with links:
- [v3,1/3] bpf: NUL-terminate replaced sysctl value
https://git.kernel.org/bpf/bpf-next/c/a66e3b5bacf3
- [v3,2/3] bpf: use kvfree() for replaced sysctl write buffer
https://git.kernel.org/bpf/bpf-next/c/4c21b5927d43
- [v3,3/3] bpf: Restore sysctl new-value from 1 to 0
https://git.kernel.org/bpf/bpf-next/c/2566c3b24219

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html