Re: [PATCH v4 sched_ext/for-7.3 21/40] sched_ext: Add per-shard cap delegation for sub-schedulers
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:00:56 +0000, [email protected] wrote: > - [High] Missing validation for unallocated `pshard` arrays and missing > arena maps in `scx_bpf_sub_grant()`, `scx_bpf_sub_revoke()`, and > `scx_bpf_sub_caps()` leads to NULL pointer dereferences and invalid > memory access Oops. Same as the v2/v3 rounds - sub-schedulers are always cid-form with an arena pool (enforced at attach) and their pshards are allocated before the sched is published, so these paths never see a NULL pshard or a zero arena base: https://lore.kernel.org/r/[email protected] Thanks. -- tejun