# CVE-2025-39891: wifi: mwifiex: Initialize the chan\_stats array to zero

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.25% (percentile 10, 2026-11-28)
- **Published:** 2025-10-01T07:42:40.633Z
- **Modified:** 2026-11-05T22:17:34.790Z

## Who should check

- Anyone running Linux \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 05daef0442d28350a1a0d6d0e2cab4a7a91df475; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< acdf26a912190fc6746e2a890d7d0338190527b4; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 32c124c9c03aa755cbaf60ef7f76afd918d47659; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 9df29aa5637d94d24f7c5f054ef4feaa7b766111; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 06616410a3e5e6cd1de5b7cbc668f1a7edeedad9; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 5285b7009dc1e09d5bb9e05fae82e1a807882dbc; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 0e20450829ca3c1dbc2db536391537c57a40fe0b
- Anyone running Linux 3.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mwifiex: Initialize the chan\_stats array to zero

The adapter-\>chan\_stats\[\] array is initialized in
mwifiex\_init\_channel\_scan\_gap() with vmalloc(), which doesn't zero out
memory.  The array is filled in mwifiex\_update\_chan\_statistics()
and then the user can query the data in mwifiex\_cfg80211\_dump\_survey().

There are two potential issues here.  What if the user calls
mwifiex\_cfg80211\_dump\_survey() before the data has been filled in.
Also the mwifiex\_update\_chan\_statistics() function doesn't necessarily
initialize the whole array.  Since the array was not initialized at
the start that could result in an information leak.

Also this array is pretty small.  It's a maximum of 900 bytes so it's
more appropriate to use kcalloc() instead vmalloc().

## Affected and fixed versions

- Linux: \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 05daef0442d28350a1a0d6d0e2cab4a7a91df475; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< acdf26a912190fc6746e2a890d7d0338190527b4; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 32c124c9c03aa755cbaf60ef7f76afd918d47659; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 9df29aa5637d94d24f7c5f054ef4feaa7b766111; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 06616410a3e5e6cd1de5b7cbc668f1a7edeedad9; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 5285b7009dc1e09d5bb9e05fae82e1a807882dbc; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 0e20450829ca3c1dbc2db536391537c57a40fe0b (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- Upgrade Linux to 0e20450829ca3c1dbc2db536391537c57a40fe0b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39891.md
Affected: Linux >= bf35443314acb43fa8a3f9f8046e14cbe178762b, < 9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65; >= bf35443314acb43fa8a3f9f8046e14cbe178762b, < 05daef0442d28350a1a0d6d0e2cab4a7a91df475; >= bf35443314acb43fa8a3f9f8046e14cbe178762b, < acdf26a912190fc6746e2a890d7d0338190527b4; >= bf35443314acb43fa8a3f9f…
Fixed in: Linux 9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65, Linux 05daef0442d28350a1a0d6d0e2cab4a7a91df475, Linux 32c124c9c03aa755cbaf60ef7f76afd918d47659, Linux 9df29aa5637d94d24f7c5f054ef4feaa7b766111, Linux 06616410a3e5e6cd1de5b7cbc668f1a7edeedad9, Linux 5285b7009dc1e09d5bb9e05fae82e1a807882dbc, Linux 0e204…

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-2025-39891 being exploited?

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

### How serious is CVE-2025-39891?

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

### Which versions are affected by CVE-2025-39891?

Linux \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 05daef0442d28350a1a0d6d0e2cab4a7a91df475; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< acdf26a912190fc6746e2a890d7d0338190527b4; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 32c124c9c03aa755cbaf60ef7f76afd918d47659; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 9df29aa5637d94d24f7c5f054ef4feaa7b766111; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 06616410a3e5e6cd1de5b7cbc668f1a7edeedad9; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 5285b7009dc1e09d5bb9e05fae82e1a807882dbc; \>= bf35443314acb43fa8a3f9f8046e14cbe178762b, \< 0e20450829ca3c1dbc2db536391537c57a40fe0b; Linux 3.19.

### Is there a fix for CVE-2025-39891?

Yes. Fixed in Linux 9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65, Linux 05daef0442d28350a1a0d6d0e2cab4a7a91df475, Linux 32c124c9c03aa755cbaf60ef7f76afd918d47659, Linux 9df29aa5637d94d24f7c5f054ef4feaa7b766111, Linux 06616410a3e5e6cd1de5b7cbc668f1a7edeedad9, Linux 5285b7009dc1e09d5bb9e05fae82e1a807882dbc, Linux 0e20450829ca3c1dbc2db536391537c57a40fe0b. Upgrade Linux to 0e20450829ca3c1dbc2db536391537c57a40fe0b or later.

### How do I check if I'm affected by CVE-2025-39891?

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/9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65>
- patch: <https://git.kernel.org/stable/c/05daef0442d28350a1a0d6d0e2cab4a7a91df475>
- patch: <https://git.kernel.org/stable/c/acdf26a912190fc6746e2a890d7d0338190527b4>
- patch: <https://git.kernel.org/stable/c/32c124c9c03aa755cbaf60ef7f76afd918d47659>
- patch: <https://git.kernel.org/stable/c/9df29aa5637d94d24f7c5f054ef4feaa7b766111>
- patch: <https://git.kernel.org/stable/c/06616410a3e5e6cd1de5b7cbc668f1a7edeedad9>
- patch: <https://git.kernel.org/stable/c/5285b7009dc1e09d5bb9e05fae82e1a807882dbc>
- patch: <https://git.kernel.org/stable/c/0e20450829ca3c1dbc2db536391537c57a40fe0b>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.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-2025-39891>

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