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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-27 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-57997, DEBIAN-CVE-2024-57997
- Record: https://cvemate.com/vulnerability/CVE-2024-57997 · JSON: https://cvemate.com/vulnerability/CVE-2024-57997/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.331%, percentile 28.264%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 109)

- debian linux (Debian): \< 6.1.129-1 \| \< 6.12.13-1
- ubuntu linux (Ubuntu): \< 6.8.0-64.67
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1032.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1032.34~22.04.1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1034.39
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.11 (Ubuntu): \< 6.11.0-1015.15~24.04.1

## References (first 20 of 23)

- <https://git.kernel.org/stable/c/ae68efdff7a7a42ab251cac79d8713de6f0dbaa0>
- <https://git.kernel.org/stable/c/e95f9c408ff8311f75eeabc8acf34a66670d8815>
- <https://git.kernel.org/stable/c/64c4dcaeac1dc1030e47883b04a617ca9a4f164e>
- <https://git.kernel.org/stable/c/34cd2817708aec51ef1a6c007e0d6d5342a025d7>
- <https://git.kernel.org/stable/c/6200d947f050efdba4090dfefd8a01981363d954>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://ubuntu.com/security/CVE-2024-57997>
- <https://www.cve.org/CVERecord?id=CVE-2024-57997>
- <https://git.kernel.org/linus/6200d947f050efdba4090dfefd8a01981363d954>
- <https://ubuntu.com/security/notices/USN-7521-1>
- <https://ubuntu.com/security/notices/USN-7521-2>
- <https://ubuntu.com/security/notices/USN-7521-3>
- <https://ubuntu.com/security/notices/USN-7651-1>
- <https://ubuntu.com/security/notices/USN-7652-1>
- <https://ubuntu.com/security/notices/USN-7653-1>
- <https://ubuntu.com/security/notices/USN-7651-2>
- <https://ubuntu.com/security/notices/USN-7651-3>
- <https://ubuntu.com/security/notices/USN-7651-4>
- <https://ubuntu.com/security/notices/USN-7651-5>
- <https://ubuntu.com/security/notices/USN-7651-6>

---

Data as of 2026-12-05T04:22:31.779Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
