8.8high
wifi: wcn36xx: fix channel survey memory allocation size
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.44% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: wcn36xx: se corrige el tamaño de asignación de memoria de la encuesta de canal KASAN informó un problema de asignación de memoria en wcn->chan_survey debido a un cálculo de tamaño incorrecto. Esta confirmación utiliza kcalloc para asignar memoria para wcn->chan_survey, lo que garantiza una inicialización adecuada y evita el uso de valores no inicializados cuando no hay marcos en el canal.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-57997 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-57997 changed 2026-08-04 | Public domain |