Re: [PATCH v4 sched_ext/for-7.3 37/40] sched_ext: Add scx_bpf_sub_kill() to evict a child sub-scheduler
Tejun Heo <[email protected]>
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 08 Jul 2026 22:11:10 +0000, [email protected] wrote: > - [High] Missing `__str` suffix on the `fmt` parameter in > `scx_bpf_sub_kill_bstr()` allows out-of-bounds kernel memory read. Same as the v2/v3 rounds - the fmt/data/data__sz triple follows the established scx _bstr kfunc convention, fmt is always a rodata literal from a privileged struct_ops program, and switching to __str would be a tree-wide change for the whole _bstr family rather than something for this patch: https://lore.kernel.org/r/[email protected] Thanks. -- tejun