Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mm81x: validate n_channels in disabled channels response mm81x_mac_check_fw_disabled_chans() iterates over n_channels entries of the firmware response without validating the response length against the array size. A firmware response with n_channels larger than ARRAY_SIZE(mors_s1ghz_channels) reads past the end of the response buffer. To fix, make sure we validate the length prior to use. [slightly reword commit message]
Affected products and versions
Linux Linuxb1906cea00b021acea22460225401d5b27bc7c36 – < 956574857864824a571e682c25706748e1a8ee4f · b1906cea00b021acea22460225401d5b27bc7c36 – < ad130fe516914076f3fb11940b1bf9181de04425Fixed in: 956574857864824a571e682c25706748e1a8ee4f · ad130fe516914076f3fb11940b1bf9181de04425
Linux Linux7.3Fixed in: 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/956574857864824a571e682c25706748e1a8ee4f
- git.kernel.org/stable/c/ad130fe516914076f3fb11940b1bf9181de04425
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.