What’s Vulnerable › Vulnerabilities

CVE-2024-57997: wifi: wcn36xx: fix channel survey memory allocation size

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: wcn36xx: fix channel survey memory allocation size KASAN reported a memory allocation issue in wcn->chan_survey due to incorrect size calculation. This commit uses kcalloc to allocate memory for wcn->chan_survey, ensuring proper initialization and preventing the use of uninitialized values when there are no frames on the channel.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.129, 6.12.13, 6.13.2, 6.6.76. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-57997 or the next vulnerability affects your stack