Description
In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Guard domain index uses against speculative bypass The previous array_index_nospec() placement only covered the admin permission check, leaving ap_test_config_usage_domain() and ap_test_config_ctrl_domain() in the CCA path exposed to speculative execution. Move the sanitization to before all permission and config checks in both the CCA and EP11 paths. Hold the sanitized domain value in another variable so that the later use can choose to use either the original value (subject to speculative execution) or the sanitized value (which may in case of AUTOSEL_DOM reflect the wrong value). Before that, check the domain value to be either AUTOSEL_DOM or in range 0...AP_DOMAINS-1 and return with -EINVAL in case this check does not pass.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e935cd525af4c6ed2e2c6404aa27ca19c7f39ddb to < 47597992e6c20a298cec03016ebba669f0e17484affectede935cd525af4c6ed2e2c6404aa27ca19c7f39ddb to < 7b88e8b6d714cd1b2b6185e2963c8ec4d98542d0affected55ac533c568a5dcaa41cd26d6e089f9dff2a7c22affecteddd1a334523ba533cba63caf593a7329d8e0e5e6eaffectedd11a260bd7dfc6f6ccd43e1b930050f24e70cd5faffected59adeedebf02aa1c203de1d2b67ec45bfab7a3c6affected82b62eda68abfb7a33ac40f24b8c4128c2891148affected6.1.191 to < 6.2affected6.6.160 to < 6.7affected6.12.114 to < 6.13affected6.18.57 to < 6.19affected7.1.8 to < 7.2affected
Linux Linux
Default version status: affected
7.2affected0 to < 7.2unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected