Description
In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: don't trust firmware n_channels If the firmware sends us a corrupted MCC response with n_channels much larger than the command response can be, we might copy far too much (uninitialized) memory and even crash if the n_channels is large enough to make it run out of the one page allocated for the FW response. Fix that by checking the lengths. Doing a < comparison would be sufficient, but the firmware should be doing it correctly, so check more strictly.
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
dcaf9f5ecb6f395152609bdc40660d9b593dca63 to < e519a404a5bbba37693cb10fa61794a5fce4fd9baffecteddcaf9f5ecb6f395152609bdc40660d9b593dca63 to < d0d39bed9e95f27a246be91c5929254ac043ed30affecteddcaf9f5ecb6f395152609bdc40660d9b593dca63 to < 05ad5a4d421ce65652fcb24d46b7e273130240d6affecteddcaf9f5ecb6f395152609bdc40660d9b593dca63 to < 557ba100d8cf3661ff8d71c0b4a2cba8db555ec2affecteddcaf9f5ecb6f395152609bdc40660d9b593dca63 to < c176f03350954b795322de0bfe1d7b514db41f45affecteddcaf9f5ecb6f395152609bdc40660d9b593dca63 to < 682b6dc29d98e857e6ca4bbc077c7dc2899b7473affected
Linux Linux
Default version status: affected
4.1affected0 to < 4.1unaffected5.4.244 to ≤ 5.4.*unaffected5.10.181 to ≤ 5.10.*unaffected5.15.113 to ≤ 5.15.*unaffected6.1.30 to ≤ 6.1.*unaffected6.3.4 to ≤ 6.3.*unaffected6.4 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e519a404a5bbba37693cb10fa61794a5fce4fd9b ↗
- https://git.kernel.org/stable/c/d0d39bed9e95f27a246be91c5929254ac043ed30 ↗
- https://git.kernel.org/stable/c/05ad5a4d421ce65652fcb24d46b7e273130240d6 ↗
- https://git.kernel.org/stable/c/557ba100d8cf3661ff8d71c0b4a2cba8db555ec2 ↗
- https://git.kernel.org/stable/c/c176f03350954b795322de0bfe1d7b514db41f45 ↗
- https://git.kernel.org/stable/c/682b6dc29d98e857e6ca4bbc077c7dc2899b7473 ↗