CVE-2024-50008
wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()
Reported by linux · Published October 21, 2024
In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext() Replace one-element array with a flexible-array member in `struct host_cmd_ds_802_11_scan_ext`. With this, fix the following warning: elo 16 17:51:58 surfacebook kernel: ------------[ cut here ]------------ elo 16 17:51:58 surfacebook kernel: memcpy: detected field-spanning write (size 243) of single field "ext_scan->tlv_buffer" at drivers/net/wireless/marvell/mwifiex/scan.c:2239 (size 1) elo 16 17:51:58 surfacebook kernel: WARNING: CPU: 0 PID: 498 at drivers/net/wireless/marvell/mwifiex/scan.c:2239 mwifiex_cmd_802_11_scan_ext+0x83/0x90 [mwifiex]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.11.3, 6.10.14, 6.6.55, 6.1.113, 5.15.168, 5.10.227 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Siemens | 1.1.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 21f58d200388480547df909b5464b5aafebf299d, 21f58d200388480547df909b5464b5aafebf299d, 21f58d200388480547df909b5464b5aafebf299d |
| Linux | Linux | 3.15, 0, 4.19.323 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| linux | linux_kernel | 3.15, 3.15, 3.15 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| Linux | Linux | 6.11.3, 6.12, 6.1.113 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 23, 2024 Coalition ESS Score (23 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 16, 2025 PoC Published
- Jan 2, 2026 Security Advisory (456 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (388 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50008
vulnetix vdb fixes CVE-2024-50008
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50008/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart