Description
In the Linux kernel, the following vulnerability has been resolved: 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.
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
cfd68b33094e1a92249850ff3c3c92ae9112a541 to < 55ac533c568a5dcaa41cd26d6e089f9dff2a7c22affectedcfd68b33094e1a92249850ff3c3c92ae9112a541 to < dd1a334523ba533cba63caf593a7329d8e0e5e6eaffectedcfd68b33094e1a92249850ff3c3c92ae9112a541 to < d11a260bd7dfc6f6ccd43e1b930050f24e70cd5faffectedcfd68b33094e1a92249850ff3c3c92ae9112a541 to < 59adeedebf02aa1c203de1d2b67ec45bfab7a3c6affectedcfd68b33094e1a92249850ff3c3c92ae9112a541 to < 82b62eda68abfb7a33ac40f24b8c4128c2891148affectedcfd68b33094e1a92249850ff3c3c92ae9112a541 to < e935cd525af4c6ed2e2c6404aa27ca19c7f39ddbaffected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/55ac533c568a5dcaa41cd26d6e089f9dff2a7c22 ↗
- https://git.kernel.org/stable/c/dd1a334523ba533cba63caf593a7329d8e0e5e6e ↗
- https://git.kernel.org/stable/c/d11a260bd7dfc6f6ccd43e1b930050f24e70cd5f ↗
- https://git.kernel.org/stable/c/59adeedebf02aa1c203de1d2b67ec45bfab7a3c6 ↗
- https://git.kernel.org/stable/c/82b62eda68abfb7a33ac40f24b8c4128c2891148 ↗
- https://git.kernel.org/stable/c/e935cd525af4c6ed2e2c6404aa27ca19c7f39ddb ↗