summaryrefslogtreecommitdiff
path: root/rust/zerocopy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2026-06-22 16:31:24 +0200
committerVasily Gorbik <gor@linux.ibm.com>2026-07-08 17:02:47 +0200
commitb7577fe4c47a31ca7c99714c53244a44af03cdfe (patch)
tree94352eeea81d10f42860b203a870bb09c51192b5 /rust/zerocopy/git@git.tavy.me:linux-stable.git
parent8cdeaa50eae8dad34885515f62559ee83e7e8dda (diff)
s390/diag: Add missing array_index_nospec() call to memtop_get_page_count()
'level' is user space controlled and used to read from an array. Add the missing array_index_nospec() call to prevent speculative execution. Cc: stable@vger.kernel.org Fixes: 0d30871739ab ("s390/diag: Add memory topology information via diag310") Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Mete Durlu <meted@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions