wifi: iwlwifi: mvm: don't trust firmware n_channels (Linux Linux)

CVE-2023-53589
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected dcaf9f5ecb6f395152609bdc40660d9b593dca63 < e519a404a5bbba37693cb10fa61794a5fce4fd9b ; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 < d0d39bed9e95f27a246be91c5929254ac043ed30 ; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 < 05ad5a4d421ce65652fcb24d46b7e273130240d6 ; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 < 557ba100d8cf3661ff8d71c0b4a2cba8db555ec2 ; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 < c176f03350954b795322de0bfe1d7b514db41f45 ; affected dcaf9f5ecb6f395152609bdc40660d9b593dca63 < 682b6dc29d98e857e6ca4bbc077c7dc2899b7473
Linux · Linuxaffected 4.1 ; unaffected 0 < 4.1 ; unaffected 5.4.244 ≤ 5.4.* ; unaffected 5.10.181 ≤ 5.10.* ; unaffected 5.15.113 ≤ 5.15.* ; unaffected 6.1.30 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD