wifi: iwlwifi: mvm: fix 6 GHz scan construction (Linux Linux)

CVE-2024-53055
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: fix 6 GHz scan construction If more than 255 colocated APs exist for the set of all APs found during 2.4/5 GHz scanning, then the 6 GHz scan construction will loop forever since the loop variable has type u8, which can never reach the number found when that's bigger than 255, and is stored in a u32 variable. Also move it into the loops to have a smaller scope. Using a u32 there is fine, we limit the number of APs in the scan list and each has a limit on the number of RNR entries due to the frame size. With a limit of 1000 scan results, a frame size upper bound of 4096 (really it's more like ~2300) and a TBTT entry size of at least 11, we get an upper bound for the number of ~372k, well in the bounds of a u32.

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected eae94cf82d7456b57fa9fd55c1edb8a726dcc19c < 2ac15e5a8f42fed5d90ed9e1197600913678c50f ; affected eae94cf82d7456b57fa9fd55c1edb8a726dcc19c < cde8a7eb5c6762264ff0f4433358e0a0d250c875 ; affected eae94cf82d7456b57fa9fd55c1edb8a726dcc19c < fc621e7a043de346c33bd7ae7e2e0c651d6152ef ; affected eae94cf82d7456b57fa9fd55c1edb8a726dcc19c < 2ccd5badadab2d586e91546bf5af3deda07fef1f ; affected eae94cf82d7456b57fa9fd55c1edb8a726dcc19c < 7245012f0f496162dd95d888ed2ceb5a35170f1a
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.171 ≤ 5.15.* ; unaffected 6.1.116 ≤ 6.1.* ; unaffected 6.6.60 ≤ 6.6.* ; unaffected 6.11.7 ≤ 6.11.*

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