wifi: wcn36xx: fix channel survey memory allocation size (Linux Linux)

CVE-2024-57997
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.33 % · percentile 26 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 29696e0aa413b9d56558731aae3806d7cff48d36 < ae68efdff7a7a42ab251cac79d8713de6f0dbaa0 ; affected 29696e0aa413b9d56558731aae3806d7cff48d36 < e95f9c408ff8311f75eeabc8acf34a66670d8815 ; affected 29696e0aa413b9d56558731aae3806d7cff48d36 < 64c4dcaeac1dc1030e47883b04a617ca9a4f164e ; affected 29696e0aa413b9d56558731aae3806d7cff48d36 < 34cd2817708aec51ef1a6c007e0d6d5342a025d7 ; affected 29696e0aa413b9d56558731aae3806d7cff48d36 < 6200d947f050efdba4090dfefd8a01981363d954
Linux · Linuxaffected 5.18 ; unaffected 0 < 5.18 ; unaffected 6.1.129 ≤ 6.1.* ; unaffected 6.6.76 ≤ 6.6.* ; unaffected 6.12.13 ≤ 6.12.* ; unaffected 6.13.2 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD