Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rsi: avoid reading TKIP MIC keys for non-TKIP ciphers rsi_hal_load_key() copies tx_mic_key and rx_mic_key from data[16] and data[24] whenever key data is present. Those offsets are only part of the 32-byte TKIP key layout. Shorter keys used by other ciphers, such as CCMP, do not provide those bytes, so the unconditional copies can read past the supplied key buffer. Only copy the MIC keys for TKIP, and reject malformed TKIP keys that are shorter than the expected 32-byte layout. [drop useless length check]
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
dad0d04fa7ba41ce603a01e8e64967650303e9a2 to < 6937b06d55b528e961feff8cc083b97ede622e02affecteddad0d04fa7ba41ce603a01e8e64967650303e9a2 to < ebd7172f8c4edc232738ef50338fb773c6f6c208affecteddad0d04fa7ba41ce603a01e8e64967650303e9a2 to < 6b6690ac5c35e803df14afdc44312d11e8a60893affecteddad0d04fa7ba41ce603a01e8e64967650303e9a2 to < 5207727e53fba1e3a6fce9b2c15b6b8b06c6438baffecteddad0d04fa7ba41ce603a01e8e64967650303e9a2 to < 5902e3c08c63d65724772f74d65b9fb032625dcaaffecteddad0d04fa7ba41ce603a01e8e64967650303e9a2 to < 55b86ef6c2e68879ffd95203b011ef42a013ab88affecteddad0d04fa7ba41ce603a01e8e64967650303e9a2 to < 843fe9bc583b7686ca68312ac9319c9240a73c03affected
Linux Linux
Default version status: affected
3.15affected0 to < 3.15unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6937b06d55b528e961feff8cc083b97ede622e02 ↗
- https://git.kernel.org/stable/c/ebd7172f8c4edc232738ef50338fb773c6f6c208 ↗
- https://git.kernel.org/stable/c/6b6690ac5c35e803df14afdc44312d11e8a60893 ↗
- https://git.kernel.org/stable/c/5207727e53fba1e3a6fce9b2c15b6b8b06c6438b ↗
- https://git.kernel.org/stable/c/5902e3c08c63d65724772f74d65b9fb032625dca ↗
- https://git.kernel.org/stable/c/55b86ef6c2e68879ffd95203b011ef42a013ab88 ↗
- https://git.kernel.org/stable/c/843fe9bc583b7686ca68312ac9319c9240a73c03 ↗