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]
https://git.kernel.org/stable/c/ebd7172f8c4edc232738ef50338fb773c6f6c208
https://git.kernel.org/stable/c/843fe9bc583b7686ca68312ac9319c9240a73c03
https://git.kernel.org/stable/c/6b6690ac5c35e803df14afdc44312d11e8a60893
https://git.kernel.org/stable/c/6937b06d55b528e961feff8cc083b97ede622e02
https://git.kernel.org/stable/c/5902e3c08c63d65724772f74d65b9fb032625dca
https://git.kernel.org/stable/c/55b86ef6c2e68879ffd95203b011ef42a013ab88
https://git.kernel.org/stable/c/5207727e53fba1e3a6fce9b2c15b6b8b06c6438b