{"id":"CVE-2024-57997","summary":"wifi: wcn36xx: fix channel survey memory allocation size","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wcn36xx: fix channel survey memory allocation size\n\nKASAN reported a memory allocation issue in wcn-\u003echan_survey\ndue to incorrect size calculation.\nThis commit uses kcalloc to allocate memory for wcn-\u003echan_survey,\nensuring proper initialization and preventing the use of uninitialized\nvalues when there are no frames on the channel.","modified":"2026-04-02T12:25:27.883817Z","published":"2025-02-27T02:07:17.371Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57997.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/34cd2817708aec51ef1a6c007e0d6d5342a025d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6200d947f050efdba4090dfefd8a01981363d954"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64c4dcaeac1dc1030e47883b04a617ca9a4f164e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae68efdff7a7a42ab251cac79d8713de6f0dbaa0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e95f9c408ff8311f75eeabc8acf34a66670d8815"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57997.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57997"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"29696e0aa413b9d56558731aae3806d7cff48d36"},{"fixed":"ae68efdff7a7a42ab251cac79d8713de6f0dbaa0"},{"fixed":"e95f9c408ff8311f75eeabc8acf34a66670d8815"},{"fixed":"64c4dcaeac1dc1030e47883b04a617ca9a4f164e"},{"fixed":"34cd2817708aec51ef1a6c007e0d6d5342a025d7"},{"fixed":"6200d947f050efdba4090dfefd8a01981363d954"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57997.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}