Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 before e519a404a5bbba37693cb10fa61794a5fce4fd9b; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 before d0d39bed9e95f27a246be91c5929254ac043ed30; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 before 05ad5a4d421ce65652fcb24d46b7e273130240d6; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 before 557ba100d8cf3661ff8d71c0b4a2cba8db555ec2; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 before c176f03350954b795322de0bfe1d7b514db41f45; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 before 682b6dc29d98e857e6ca4bbc077c7dc2899b7473 |
| Linux / Linux | affected 4.1; unaffected 0 before 4.1; unaffected 5.4.244 through 5.4.*; unaffected 5.10.181 through 5.10.*; unaffected 5.15.113 through 5.15.*; unaffected 6.1.30 through 6.1.*; unaffected 6.3.4 through 6.3.*; unaffected 6.4 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.