Re: [PATCH 07/10] sched_ext: Add verifier-time kfunc context filter

From: Tejun Heo

Date: Tue Apr 14 2026 - 13:26:41 EST


On Tue, Apr 14, 2026 at 08:38:37PM +0800, Cheng-Yang Chou wrote:
> So I think we should do the following:
>
> 1. Add a filter to deny all context-sensitive kfuncs for non-SCX
> struct_ops programs, not just the rq-locked ones.
> This makes the runtime OOB in scx_prog_sched() unreachable.

Yeah, let's do that.

Thanks.

--
tejun