CVE-2024-57997

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.

Score
CVSS 3.1 8.8 High
Status
Modified - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-02-27
Last modified
2026-08-05
Weaknesses
CWE-908

Affected products

References