wifi: iwlwifi: mvm: fix off-by-one in TXF key sanitiser
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 12d60c1efc29e19f4dc0dc70cd48ce097fce6447 · < f6a6c01cbc046f68e6916a7e047a1bc881c8c9ab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: fix off-by-one in TXF key sanitiser
iwl_mvm_frob_txf_key_iter() tracks the last matched byte position in loop variable 'i'. When a full key match is found (match == keylen), 'i' points at the last byte of the matched key. The memset start offset should therefore be i + 1 - keylen, not i - keylen; the current code zeroes one byte before the match and leaves the final key byte un-sanitised.
From the CVE record · Linux
The Linux kernel's iwlwifi mvm TXF key sanitiser has an off-by-one error. When it finds a full key match, it clears one byte before the key and leaves the final key byte uncleared. The input does not specify an attacker capability, access requirement, or user-interaction condition.
Engineers running Linux kernels with the iwlwifi mvm component should check their builds; affected versions are not specified.