CVE-2024-57997 wifi: wcn36xx: fix channel survey memory allocation size
A memory allocation error in the wcn36xx Wi-Fi driver can lead to the use of uninitialized values, potentially causing a system crash or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-57997?
CVE-2024-57997 is a high-severity vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-908
Which versions are affected by CVE-2024-57997?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57997?
Apply the vendor's patch.
Is CVE-2024-57997 being exploited?
There is no known exploitation of CVE-2024-57997 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57997, DEBIAN-CVE-2024-57997, GHSA-cq3j-mpfm-r8ww, ROOT-OS-UBUNTU-2404-CVE-2024-57997, UBUNTU-CVE-2024-57997.