CVE-2024-57997

wifi: wcn36xx: fix channel survey memory allocation size

MEDIUM
5.5
CVSS Score
Published: February 27, 2025 at 02:07 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.18 ≤ v < 6.1.1295.18 ≤ v < 6.12.135.18 ≤ v < 6.13.25.18 ≤ v < 6.145.18 ≤ v < 6.6.766.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.1329696e0aa413b9d56558731aae3806d7cff48d365.18
Vendor states this is fixed in 34cd2817708aec51ef1a6c007e0d6d5342a025d7 (fixed)
Vendor states this is fixed in 6200d947f050efdba4090dfefd8a01981363d954 (fixed)
Vendor states this is fixed in 64c4dcaeac1dc1030e47883b04a617ca9a4f164e (fixed)
Vendor states this is fixed in ae68efdff7a7a42ab251cac79d8713de6f0dbaa0 (fixed)
Vendor states this is fixed in e95f9c408ff8311f75eeabc8acf34a66670d8815 (fixed)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/34cd2817708aec51ef1a6c007e0d6d5342a025d7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6200d947f050efdba4090dfefd8a01981363d954
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64c4dcaeac1dc1030e47883b04a617ca9a4f164e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ae68efdff7a7a42ab251cac79d8713de6f0dbaa0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e95f9c408ff8311f75eeabc8acf34a66670d8815
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card