Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2024-57997

wifi: wcn36xx: fix channel survey memory allocation size

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 29696e0aa413b9d56558731aae3806d7cff48d36 to < ae68efdff7a7a42ab251cac79d8713de6f0dbaa0affected
  • 29696e0aa413b9d56558731aae3806d7cff48d36 to < e95f9c408ff8311f75eeabc8acf34a66670d8815affected
  • 29696e0aa413b9d56558731aae3806d7cff48d36 to < 64c4dcaeac1dc1030e47883b04a617ca9a4f164eaffected
  • 29696e0aa413b9d56558731aae3806d7cff48d36 to < 34cd2817708aec51ef1a6c007e0d6d5342a025d7affected
  • 29696e0aa413b9d56558731aae3806d7cff48d36 to < 6200d947f050efdba4090dfefd8a01981363d954affected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 6.1.129 to ≤ 6.1.*unaffected
  • 6.6.76 to ≤ 6.6.*unaffected
  • 6.12.13 to ≤ 6.12.*unaffected
  • 6.13.2 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References