]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/sched_ext: Fix data header access during free in scx_sdt
authorEmil Tsalapatis <emil@etsalapatis.com>
Mon, 2 Feb 2026 00:42:08 +0000 (19:42 -0500)
committerTejun Heo <tj@kernel.org>
Mon, 2 Feb 2026 15:50:14 +0000 (05:50 -1000)
commit2e06d54ea9a25e2925a31eb5410af0f16baa8f19
treee0e9d07a1521e6693f48be39cf954ca41c667314
parentbd4f0822f4ecd98285208e3322ad23c2ead0c878
tools/sched_ext: Fix data header access during free in scx_sdt

Fix a pointer arithmetic error in scx_sdt during freeing that
causes the allocator to use the wrong memory address for the
allocation's data header.

Fixes: 36929ebd17ae ("tools/sched_ext: add arena based scheduler")
Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/scx_sdt.bpf.c