CVEvulnerability

CVE-2024-57997

5.5 MEDIUM Published 2025-02-27 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2025-02-27
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-908

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 configurations

• linux linux kernel (>= 5.18 < 6.1.129) • linux linux kernel (>= 6.2 < 6.6.76) • linux linux kernel (>= 6.7 < 6.12.13) • linux linux kernel (>= 6.13 < 6.13.2)

Related

Weakness · CWE (1)

  • CWE-908 Use of Uninitialized Resource weakness

References