summaryrefslogtreecommitdiff
path: root/drivers/staging/panel/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.ibm.com>2026-07-23 11:54:53 +0200
committerVasily Gorbik <gor@linux.ibm.com>2026-07-31 13:31:19 +0200
commite935cd525af4c6ed2e2c6404aa27ca19c7f39ddb (patch)
tree65144144b6bf3c711b96a0df045f81cdb22962aa /drivers/staging/panel/git@git.tavy.me:linux-stable.git
parent983279d7f86ade73db86f886e09172dd567031b5 (diff)
s390/zcrypt: Close speculative mem read possibility
The domain value is extracted from a given CCA or EP11 ioctl struct when a CPRB is about to be sent. Thus this is a user controlled value. Under some special conditions (custom device node used, administrative load) this value is used as an array index after bounds checking, but without speculation barrier. Add the missing array_index_nospec() call to prevent speculative execution where this domain value is used. Fixes: cfd68b33094e ("s390/zcrypt: Filter admin CPRBs on custom devices") Cc: stable@vger.kernel.org Reported-by: Christian Borntraeger <borntraeger@linux.ibm.com> Reviewed-by: Finn Callies <fcallies@linux.ibm.com> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/staging/panel/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions