CVE-2023-53589

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxdcaf9f5ecb6f395152609bdc40660d9b593dca63 < e519a404a5bbba37693cb10fa61794a5fce4fd9baffected
LinuxLinuxdcaf9f5ecb6f395152609bdc40660d9b593dca63 < d0d39bed9e95f27a246be91c5929254ac043ed30affected
LinuxLinuxdcaf9f5ecb6f395152609bdc40660d9b593dca63 < 05ad5a4d421ce65652fcb24d46b7e273130240d6affected
LinuxLinuxdcaf9f5ecb6f395152609bdc40660d9b593dca63 < 557ba100d8cf3661ff8d71c0b4a2cba8db555ec2affected
LinuxLinuxdcaf9f5ecb6f395152609bdc40660d9b593dca63 < c176f03350954b795322de0bfe1d7b514db41f45affected
LinuxLinuxdcaf9f5ecb6f395152609bdc40660d9b593dca63 < 682b6dc29d98e857e6ca4bbc077c7dc2899b7473affected
LinuxLinux4.1affected
LinuxLinux0 < 4.1unaffected
LinuxLinux5.4.244 <= 5.4.*unaffected
LinuxLinux5.10.181 <= 5.10.*unaffected
LinuxLinux5.15.113 <= 5.15.*unaffected
LinuxLinux6.1.30 <= 6.1.*unaffected
LinuxLinux6.3.4 <= 6.3.*unaffected
LinuxLinux6.4 <= *unaffected

Weaknesses

References