Re: [PATCH bpf-next v3 0/2] bpf: require an owned cpumask for bpf_cpumask_populate()
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.bpf |
|---|---|
| Message-ID | <178372800913.929145.8725635647781013521.git-patchwork-notify@kernel.org> |
Hello: This series was applied to bpf/bpf-next.git (master) by Kumar Kartikeya Dwivedi <[email protected]>: On Thu, 9 Jul 2026 14:27:58 -0400 you wrote: > bpf_cpumask_populate() writes its destination with bitmap_copy() but > types it as struct cpumask *, so the verifier accepts a borrowed, > read-only cpumask (for example from scx_bpf_get_online_cpumask()) as a > writable destination. Fix it and add a selftest for coverage. > > Changelog: > > [...] Here is the summary with links: - [bpf-next,v3,1/2] bpf: Require a BPF cpumask for bpf_cpumask_populate() https://git.kernel.org/bpf/bpf-next/c/63a704c8b369 - [bpf-next,v3,2/2] selftests/bpf: test bpf_cpumask_populate() rejects a borrowed cpumask https://git.kernel.org/bpf/bpf-next/c/5aaad4d9fe9f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html