CVE-2025-39891: wifi: mwifiex: Initialize the chan_stats array to zero

Published Oct 1, 2025
·
Updated

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

wifi: mwifiex: Initialize the chanstats array to zero

The adapter->chanstats[] array is initialized in mwifiexinitchannelscangap() with vmalloc(), which doesn't zero out memory. The array is filled in mwifiexupdatechanstatistics() and then the user can query the data in mwifiexcfg80211dumpsurvey().

There are two potential issues here. What if the user calls mwifiexcfg80211dumpsurvey() before the data has been filled in. Also the mwifiexupdatechanstatistics() 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 Software

15 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.104.2-4
Linux Linux kernel>=3.19<5.4.299
Linux Linux kernel>=5.5<5.10.243
Linux Linux kernel>=5.11<5.15.192
Linux Linux kernel>=5.16<6.1.151
Linux Linux kernel>=6.2<6.6.105
Linux Linux kernel>=6.7<6.12.46
Linux Linux kernel>=6.13<6.16.6
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3
Linux Linux kernel=6.17-rc4
Debian Debian Linux=11.0

Event History

Oct 1, 2025
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
Description
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityAffected Software
Oct 2, 2025
Data Sourced
via Microsoft·01:06 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:06 AM
Affected Software
Updated
via Microsoft·01:06 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What does CVE-2025-39891 affect?

CVE-2025-39891 affects the Linux kernel's mwifiex driver used for Wi-Fi functionality.

2

What is the nature of the vulnerability CVE-2025-39891?

CVE-2025-39891 involves the initialization of the chan_stats array in mwifiex, which is not being zeroed out correctly.

3

What are the potential consequences of CVE-2025-39891 if left unpatched?

If left unpatched, CVE-2025-39891 could lead to potential information leaks and unpredictable behavior in Wi-Fi operations.

4

How can CVE-2025-39891 be mitigated?

CVE-2025-39891 can be mitigated by updating the Linux kernel to the latest stable version that includes the necessary fix.

5

What fix has been implemented for CVE-2025-39891?

The fix for CVE-2025-39891 involves ensuring the chan_stats array is properly initialized to zero during the mwifiex initialization process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203