Re: [PATCH v4 sched_ext/for-7.3 37/40] sched_ext: Add scx_bpf_sub_kill() to evict a child sub-scheduler

From: Tejun Heo

Date: Thu Jul 09 2026 - 18:32:47 EST


On Wed, 08 Jul 2026 22:11:10 +0000, sashiko-bot@xxxxxxxxxx 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/90174d41528bb30ba43cb15bc448c2fb@xxxxxxxxxx

Thanks.

--
tejun