Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mm81x: free the firmware scratch buffer on parse failures mm81x_fw_load_fw() allocates fw_buf before it inspects the image, but releases it only on the success path. The two early returns taken for a malformed image leave one firmware-sized allocation attached to the device, and mm81x_fw_flash() retries the load three times. Release it on those paths too, the way mm81x_fw_load_bcf() already does.
Affected products and versions
Linux Linuxb1906cea00b021acea22460225401d5b27bc7c36 – < 3d80571f71eb996677d179e1347e973725cd97ad · b1906cea00b021acea22460225401d5b27bc7c36 – < 87230a514d2ca128c3fcd96126bb18162459640fFixed in: 3d80571f71eb996677d179e1347e973725cd97ad · 87230a514d2ca128c3fcd96126bb18162459640f
Linux Linux7.3Fixed in: 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/3d80571f71eb996677d179e1347e973725cd97ad
- git.kernel.org/stable/c/87230a514d2ca128c3fcd96126bb18162459640f
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.