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

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2025-02-27T02:07:17.371Z
- Modified: 2026-08-05T11:47:16.997Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 29696e0aa413b9d56558731aae3806d7cff48d36 before ae68efdff7a7a42ab251cac79d8713de6f0dbaa0; from 29696e0aa413b9d56558731aae3806d7cff48d36 before e95f9c408ff8311f75eeabc8acf34a66670d8815; from 29696e0aa413b9d56558731aae3806d7cff48d36 before 64c4dcaeac1dc1030e47883b04a617ca9a4f164e; from 29696e0aa413b9d56558731aae3806d7cff48d36 before 34cd2817708aec51ef1a6c007e0d6d5342a025d7; from 29696e0aa413b9d56558731aae3806d7cff48d36 before 6200d947f050efdba4090dfefd8a01981363d954; 5.18 (not affected: before 5.18; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.18 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ae68efdff7a7a42ab251cac79d8713de6f0dbaa0> (patch)
- <https://git.kernel.org/stable/c/e95f9c408ff8311f75eeabc8acf34a66670d8815> (patch)
- <https://git.kernel.org/stable/c/64c4dcaeac1dc1030e47883b04a617ca9a4f164e> (patch)
- <https://git.kernel.org/stable/c/34cd2817708aec51ef1a6c007e0d6d5342a025d7> (patch)
- <https://git.kernel.org/stable/c/6200d947f050efdba4090dfefd8a01981363d954> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Sources

- CVE List: [CVE-2024-57997](https://www.cve.org/CVERecord?id=CVE-2024-57997), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-57997](https://nvd.nist.gov/vuln/detail/CVE-2024-57997), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-57997 · Whole record: https://cve.day/CVE-2024-57997.json · Rebuilt by cve.day 2026-11-25T22:58:52.093Z
