First published: Thu Feb 27 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=5.18<6.1.129 | |
Linux Kernel | >=6.2<6.6.76 | |
Linux Kernel | >=6.7<6.12.13 | |
Linux Kernel | >=6.13<6.13.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-57997 has been identified as a memory allocation vulnerability in the Linux kernel affecting the wcn36xx Wi-Fi driver.
CVE-2024-57997 affects specific versions of the Linux kernel ranging from 5.18 to 6.12.13, including multiple sub-versions.
To fix CVE-2024-57997, you should upgrade to the latest version of the Linux kernel that addresses this vulnerability.
CVE-2024-57997 represents a memory allocation issue due to incorrect size calculation in the wcn36xx driver.
While the specific severity rating may vary, CVE-2024-57997 is important to address due to its implications for memory management and system stability.