Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected cfd68b33094e1a92249850ff3c3c92ae9112a541 before dd1a334523ba533cba63caf593a7329d8e0e5e6e; affected cfd68b33094e1a92249850ff3c3c92ae9112a541 before d11a260bd7dfc6f6ccd43e1b930050f24e70cd5f; affected cfd68b33094e1a92249850ff3c3c92ae9112a541 before 59adeedebf02aa1c203de1d2b67ec45bfab7a3c6; affected cfd68b33094e1a92249850ff3c3c92ae9112a541 before 82b62eda68abfb7a33ac40f24b8c4128c2891148; affected cfd68b33094e1a92249850ff3c3c92ae9112a541 before e935cd525af4c6ed2e2c6404aa27ca19c7f39ddb |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- 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