summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorSteffen Eiden <seiden@linux.ibm.com>2026-08-12 17:55:20 +0200
committerClaudio Imbrenda <imbrenda@linux.ibm.com>2026-09-02 18:50:42 +0200
commitf47190b08b71e8482072978373ee88cb2dfbdaf4 (patch)
tree49dfeb8212df0b8b0d6be98b2035c991465cb35d /scripts/Makefile.thinlto
parentd12ce6bce5ec5175c3581e01c71e7a5abb286d9b (diff)
downloadlinux-next-f47190b08b71e8482072978373ee88cb2dfbdaf4.tar.gz
linux-next-f47190b08b71e8482072978373ee88cb2dfbdaf4.zip
s390/uv: Prevent potential out-of-bounds read
When the system has more than 85 secrets, the uv_secret_list struct array only holds up to 85 items per page, resulting in an out of bounds read in find_secret_in_page if the targeted secret is in the next page or not stored at all. Fix this by looping over the number of stored secrets which is the per sub-list count of stored secrets and not the overall count. Fixes: 7c9137af2042 ("s390/uv: Retrieve UV secrets support") Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Message-ID: <20260812-uv_secrets_fix-v3-2-a85bd29e0666@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions