diff options
| author | Yafang Shao <laoar.shao@gmail.com> | 2026-10-23 10:31:04 +0800 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-10-23 19:09:54 +0200 |
| commit | cac037a85c1971ec75c4d3edf5a28af9ec2a089c (patch) | |
| tree | 5fa02921c7d4fb5a71edf303c1292d81fa59553a /scripts/Makefile.thinlto | |
| parent | ee92b7ef4c1e271b3c1ea2a8b13034bdc62422a7 (diff) | |
| download | linux-cac037a85c1971ec75c4d3edf5a28af9ec2a089c.tar.gz linux-cac037a85c1971ec75c4d3edf5a28af9ec2a089c.zip | |
sched: fix stale get_pref_llc() stub for !CONFIG_SCHED_CACHE
Commit b636fef85bda ("sched/cache: Introduce task_struct->sched_cache_grp
to fix UAF") switched get_pref_llc() from taking a struct mm_struct * to
taking the task's struct sched_cache_group *, but only updated the
CONFIG_SCHED_CACHE definition and its caller: the stub in the
!CONFIG_SCHED_CACHE branch kept the old mm_struct parameter.
Fixes: b636fef85bda ("sched/cache: Introduce task_struct->sched_cache_grp to fix UAF")
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Gregory Price (Meta) <gourry@gourry.net>
Reviewed-by: Chen Yu <yu.c.chen@intel.com>
Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com>
Cc: <stable@vger.kernel.org> #v7.2.x
Link: https://patch.msgid.link/20261023023105.28829-2-laoar.shao@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
