# CVE-2024-50008: wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex\_cmd\_802\_11\_scan\_ext()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 22, 2026-11-26)
- **Published:** 2024-10-21T18:54:01.348Z
- **Modified:** 2026-10-15T01:19:04.400Z

## Who should check

- Anyone running Linux \>= 21f58d200388480547df909b5464b5aafebf299d, \< b55c8848fdc81514ec047b2a0ec782ffe9ab5323; \>= 21f58d200388480547df909b5464b5aafebf299d, \< f9310a6704bf52e2493480edea896e1f9b795d40; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 1756918f51e9ab247a0f4782cc28853c2bb457c1; \>= 21f58d200388480547df909b5464b5aafebf299d, \< e59bdb1ba594104cd0ee0af3ee9e4435d842a8fe; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 17199b69a84798efffc475040fbef44374ef1de1; \>= 21f58d200388480547df909b5464b5aafebf299d, \< fef7b51f22cf2049b0ca6740adeb0ba6f2e671dc; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 71267bd4e8c752d7af6c6b96bb83984a6a95273d; \>= 21f58d200388480547df909b5464b5aafebf299d, \< a3a12c30f9510f3753286fadbc6cdb7dad78c1d5; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 498365e52bebcbc36a93279fe7e9d6aec8479cee
- Anyone running Linux 3.15

## Description

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\]

## Affected and fixed versions

- Linux: \>= 21f58d200388480547df909b5464b5aafebf299d, \< b55c8848fdc81514ec047b2a0ec782ffe9ab5323; \>= 21f58d200388480547df909b5464b5aafebf299d, \< f9310a6704bf52e2493480edea896e1f9b795d40; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 1756918f51e9ab247a0f4782cc28853c2bb457c1; \>= 21f58d200388480547df909b5464b5aafebf299d, \< e59bdb1ba594104cd0ee0af3ee9e4435d842a8fe; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 17199b69a84798efffc475040fbef44374ef1de1; \>= 21f58d200388480547df909b5464b5aafebf299d, \< fef7b51f22cf2049b0ca6740adeb0ba6f2e671dc; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 71267bd4e8c752d7af6c6b96bb83984a6a95273d; \>= 21f58d200388480547df909b5464b5aafebf299d, \< a3a12c30f9510f3753286fadbc6cdb7dad78c1d5; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 498365e52bebcbc36a93279fe7e9d6aec8479cee (cvelist)
- Linux: 3.15 (cvelist)

## Mitigation

- Upgrade Linux to 498365e52bebcbc36a93279fe7e9d6aec8479cee or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50008. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50008.md
Affected: Linux >= 21f58d200388480547df909b5464b5aafebf299d, < b55c8848fdc81514ec047b2a0ec782ffe9ab5323; >= 21f58d200388480547df909b5464b5aafebf299d, < f9310a6704bf52e2493480edea896e1f9b795d40; >= 21f58d200388480547df909b5464b5aafebf299d, < 1756918f51e9ab247a0f4782cc28853c2bb457c1; >= 21f58d200388480547df909…
Fixed in: Linux 1756918f51e9ab247a0f4782cc28853c2bb457c1, Linux 17199b69a84798efffc475040fbef44374ef1de1, Linux 71267bd4e8c752d7af6c6b96bb83984a6a95273d, Linux 498365e52bebcbc36a93279fe7e9d6aec8479cee

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50008 being exploited?

There is no confirmed exploitation: CVE-2024-50008 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50008?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50008?

Linux \>= 21f58d200388480547df909b5464b5aafebf299d, \< b55c8848fdc81514ec047b2a0ec782ffe9ab5323; \>= 21f58d200388480547df909b5464b5aafebf299d, \< f9310a6704bf52e2493480edea896e1f9b795d40; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 1756918f51e9ab247a0f4782cc28853c2bb457c1; \>= 21f58d200388480547df909b5464b5aafebf299d, \< e59bdb1ba594104cd0ee0af3ee9e4435d842a8fe; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 17199b69a84798efffc475040fbef44374ef1de1; \>= 21f58d200388480547df909b5464b5aafebf299d, \< fef7b51f22cf2049b0ca6740adeb0ba6f2e671dc; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 71267bd4e8c752d7af6c6b96bb83984a6a95273d; \>= 21f58d200388480547df909b5464b5aafebf299d, \< a3a12c30f9510f3753286fadbc6cdb7dad78c1d5; \>= 21f58d200388480547df909b5464b5aafebf299d, \< 498365e52bebcbc36a93279fe7e9d6aec8479cee; Linux 3.15.

### Is there a fix for CVE-2024-50008?

Yes. Fixed in Linux 1756918f51e9ab247a0f4782cc28853c2bb457c1, Linux 17199b69a84798efffc475040fbef44374ef1de1, Linux 71267bd4e8c752d7af6c6b96bb83984a6a95273d, Linux 498365e52bebcbc36a93279fe7e9d6aec8479cee. Upgrade Linux to 498365e52bebcbc36a93279fe7e9d6aec8479cee or later.

### How do I check if I'm affected by CVE-2024-50008?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1756918f51e9ab247a0f4782cc28853c2bb457c1>
- patch: <https://git.kernel.org/stable/c/e59bdb1ba594104cd0ee0af3ee9e4435d842a8fe>
- patch: <https://git.kernel.org/stable/c/17199b69a84798efffc475040fbef44374ef1de1>
- patch: <https://git.kernel.org/stable/c/fef7b51f22cf2049b0ca6740adeb0ba6f2e671dc>
- patch: <https://git.kernel.org/stable/c/71267bd4e8c752d7af6c6b96bb83984a6a95273d>
- patch: <https://git.kernel.org/stable/c/a3a12c30f9510f3753286fadbc6cdb7dad78c1d5>
- patch: <https://git.kernel.org/stable/c/498365e52bebcbc36a93279fe7e9d6aec8479cee>
- other: <https://git.kernel.org/stable/c/b55c8848fdc81514ec047b2a0ec782ffe9ab5323>
- other: <https://git.kernel.org/stable/c/f9310a6704bf52e2493480edea896e1f9b795d40>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50008>

HTML: <https://flawdb.com/CVE-2024-50008> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50008>
