CVE-2024-56539: Linux kernel · wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:46 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel source by replacing the one-element array with a flexible-array member in the affected struct. Users should apply the updated kernel version containing this fix once it is released. Since this is a kernel-level issue, upgrading to the patched kernel version is the recommended mitigation.
Description
CVE-2024-56539 addresses a memcpy() field-spanning write warning in the mwifiex_config_scan() function of the Linux kernel's mwifiex wireless driver. The issue involved an improper use of a one-element array in a struct, which was replaced with a flexible-array member to prevent the warning. This fix resolves a potential reliability issue related to copying SSID data during Wi-Fi scanning.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56539 (opens in a new tab)
- git.kernel.org/stable/c/1de0ca1d7320a645ba2ee5954f64be08935b002a (opens in a new tab)
- git.kernel.org/stable/c/581261b2d6fdb4237b24fa13f5a5f87bf2861f2c (opens in a new tab)
- git.kernel.org/stable/c/5fa329c44e1e635da2541eab28b6cdb8464fc8d1 (opens in a new tab)
- git.kernel.org/stable/c/a09760c513ae0f98c7082a1deace7fb6284ee866 (opens in a new tab)
- git.kernel.org/stable/c/b466746cfb6be43f9a1457bbee52ade397fb23ea (opens in a new tab)
- git.kernel.org/stable/c/c4698ef8c42e02782604bf4f8a489dbf6b0c1365 (opens in a new tab)
- git.kernel.org/stable/c/d241a139c2e9f8a479f25c75ebd5391e6a448500 (opens in a new tab)
- git.kernel.org/stable/c/d7774910c5583e61c5fe2571280366624ef48036 (opens in a new tab)
- git.kernel.org/stable/c/e2de22e4b6213371d9e76f74a10ce817572a8d74 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)