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/843fe9bc583b7686ca68312ac9319c9240a73c03
https://git.kernel.org/stable/c/5902e3c08c63d65724772f74d65b9fb032625dca
https://git.kernel.org/stable/c/55b86ef6c2e68879ffd95203b011ef42a013ab88