Re: [PATCH v3 sched_ext/for-7.3 21/36] sched_ext: Maintain per-cpu effective cap copies for single-read checks

Tejun Heo <[email protected]>
Newsgroups dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, 07 Jul 2026 00:38:20 +0000, [email protected] wrote:
> - [High] Unconditional dereference of global CID routing tables in `scx_process_sync_ecaps()` leads to NULL pointer dereference on error paths and out-of-bounds reads during layout updates.

The routing-table reads sit behind the llist_empty() guard, and the
teardown/discard path doesn't call scx_process_sync_ecaps(), so there's
no window where it runs against a torn-down or mid-update layout. Same as
the v2 round. No change.

Thanks.

-- 
tejun
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.