Re: [PATCH bpf-next] bpf: sched_ext: Mark ops argument container pointer fields as trusted
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.bpf,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178724820540.396558.13439570619675241228.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bpf/bpf-next.git (master) by Kumar Kartikeya Dwivedi <[email protected]>: On Wed, 19 Aug 2026 19:20:21 -1000 you wrote: > Walking an unannotated pointer field of a trusted struct yields a bare > PTR_TO_BTF_ID in non-sleepable programs, which kfuncs and helpers accept, > but PTR_UNTRUSTED in sleepable programs, which they reject. This gets in the > way of making ops.init_task() sleepable, which schedulers want for > allocations. For example, passing args->cgroup into bpf_cgrp_storage_get() > then fails verification and the only recourse is round-tripping through the > cgroup ID with bpf_cgroup_from_id(). > > [...] Here is the summary with links: - [bpf-next] bpf: sched_ext: Mark ops argument container pointer fields as trusted https://git.kernel.org/bpf/bpf-next/c/aed1bf1a352a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html