CVE-2024-57997

published 27 Feb 2025 · updated 5 Aug 2026

wifi: wcn36xx: fix channel survey memory allocation size

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 34cd2817708aec51ef1a6c007e0d6d5342a025d7, Kernel 6200d947f050efdba4090dfefd8a01981363d954, Kernel 64c4dcaeac1dc1030e47883b04a617ca9a4f164e and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.18, >=29696e0aa413b9d56558731aae3806d7cff48d36 <34cd2817708aec51ef1a6c007e0d6d5342a025d7, >=29696e0aa413b9d56558731aae3806d7cff48d36 <6200d947f050efdba4090dfefd8a01981363d954, >=29696e0aa413b9d56558731aae3806d7cff48d36 <64c4dcaeac1dc1030e47883b04a617ca9a4f164e, >=29696e0aa413b9d56558731aae3806d7cff48d36 <ae68efdff7a7a42ab251cac79d8713de6f0dbaa0, >=29696e0aa413b9d56558731aae3806d7cff48d36 <e95f9c408ff8311f75eeabc8acf34a66670d881534cd2817708aec51ef1a6c007e0d6d5342a025d7, 6200d947f050efdba4090dfefd8a01981363d954, 64c4dcaeac1dc1030e47883b04a617ca9a4f164e, ae68efdff7a7a42ab251cac79d8713de6f0dbaa0, e95f9c408ff8311f75eeabc8acf34a66670d8815

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57997 severity on Zeptric[![CVE-2024-57997](https://zeptric.io/badge/cve/CVE-2024-57997.svg)](https://zeptric.io/cve/CVE-2024-57997)