{"id":"CVE-2025-39891","state":"PUBLISHED","title":"wifi: mwifiex: Initialize the chan_stats array to zero","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: Initialize the chan_stats array to zero\n\nThe adapter->chan_stats[] array is initialized in\nmwifiex_init_channel_scan_gap() with vmalloc(), which doesn't zero out\nmemory.  The array is filled in mwifiex_update_chan_statistics()\nand then the user can query the data in mwifiex_cfg80211_dump_survey().\n\nThere are two potential issues here.  What if the user calls\nmwifiex_cfg80211_dump_survey() before the data has been filled in.\nAlso the mwifiex_update_chan_statistics() function doesn't necessarily\ninitialize the whole array.  Since the array was not initialized at\nthe start that could result in an information leak.\n\nAlso this array is pretty small.  It's a maximum of 900 bytes so it's\nmore appropriate to use kcalloc() instead vmalloc().","publishedAt":"2025-10-01T07:42:40.633Z","updatedAt":"2026-05-11T21:38:25.474Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"05daef0442d28350a1a0d6d0e2cab4a7a91df475","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"acdf26a912190fc6746e2a890d7d0338190527b4","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"32c124c9c03aa755cbaf60ef7f76afd918d47659","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"9df29aa5637d94d24f7c5f054ef4feaa7b766111","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"06616410a3e5e6cd1de5b7cbc668f1a7edeedad9","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"5285b7009dc1e09d5bb9e05fae82e1a807882dbc","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"0e20450829ca3c1dbc2db536391537c57a40fe0b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/marvell/mwifiex/cfg80211.c","drivers/net/wireless/marvell/mwifiex/main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.19","versionType":"semver"},{"version":"5.4.299","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.243","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.192","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.151","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.105","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.46","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.6","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/marvell/mwifiex/cfg80211.c","drivers/net/wireless/marvell/mwifiex/main.c"]}],"references":["https://git.kernel.org/stable/c/9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65","https://git.kernel.org/stable/c/05daef0442d28350a1a0d6d0e2cab4a7a91df475","https://git.kernel.org/stable/c/acdf26a912190fc6746e2a890d7d0338190527b4","https://git.kernel.org/stable/c/32c124c9c03aa755cbaf60ef7f76afd918d47659","https://git.kernel.org/stable/c/9df29aa5637d94d24f7c5f054ef4feaa7b766111","https://git.kernel.org/stable/c/06616410a3e5e6cd1de5b7cbc668f1a7edeedad9","https://git.kernel.org/stable/c/5285b7009dc1e09d5bb9e05fae82e1a807882dbc","https://git.kernel.org/stable/c/0e20450829ca3c1dbc2db536391537c57a40fe0b","https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/39xxx/CVE-2025-39891.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39891","state":"PUBLISHED","datePublished":"2025-10-01T07:42:40.633Z","dateUpdated":"2026-05-11T21:38:25.474Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.145Z"},"containers":{"cna":{"title":"wifi: mwifiex: Initialize the chan_stats array to zero","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: Initialize the chan_stats array to zero\n\nThe adapter->chan_stats[] array is initialized in\nmwifiex_init_channel_scan_gap() with vmalloc(), which doesn't zero out\nmemory.  The array is filled in mwifiex_update_chan_statistics()\nand then the user can query the data in mwifiex_cfg80211_dump_survey().\n\nThere are two potential issues here.  What if the user calls\nmwifiex_cfg80211_dump_survey() before the data has been filled in.\nAlso the mwifiex_update_chan_statistics() function doesn't necessarily\ninitialize the whole array.  Since the array was not initialized at\nthe start that could result in an information leak.\n\nAlso this array is pretty small.  It's a maximum of 900 bytes so it's\nmore appropriate to use kcalloc() instead vmalloc()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"05daef0442d28350a1a0d6d0e2cab4a7a91df475","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"acdf26a912190fc6746e2a890d7d0338190527b4","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"32c124c9c03aa755cbaf60ef7f76afd918d47659","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"9df29aa5637d94d24f7c5f054ef4feaa7b766111","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"06616410a3e5e6cd1de5b7cbc668f1a7edeedad9","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"5285b7009dc1e09d5bb9e05fae82e1a807882dbc","versionType":"git"},{"version":"bf35443314acb43fa8a3f9f8046e14cbe178762b","status":"affected","lessThan":"0e20450829ca3c1dbc2db536391537c57a40fe0b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/marvell/mwifiex/cfg80211.c","drivers/net/wireless/marvell/mwifiex/main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.19","versionType":"semver"},{"version":"5.4.299","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.243","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.192","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.151","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.105","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.46","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.6","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/marvell/mwifiex/cfg80211.c","drivers/net/wireless/marvell/mwifiex/main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9eb0118b3470b4d2e4e3bbb1fc088b30c0285d65"},{"url":"https://git.kernel.org/stable/c/05daef0442d28350a1a0d6d0e2cab4a7a91df475"},{"url":"https://git.kernel.org/stable/c/acdf26a912190fc6746e2a890d7d0338190527b4"},{"url":"https://git.kernel.org/stable/c/32c124c9c03aa755cbaf60ef7f76afd918d47659"},{"url":"https://git.kernel.org/stable/c/9df29aa5637d94d24f7c5f054ef4feaa7b766111"},{"url":"https://git.kernel.org/stable/c/06616410a3e5e6cd1de5b7cbc668f1a7edeedad9"},{"url":"https://git.kernel.org/stable/c/5285b7009dc1e09d5bb9e05fae82e1a807882dbc"},{"url":"https://git.kernel.org/stable/c/0e20450829ca3c1dbc2db536391537c57a40fe0b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:38:25.474Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.4.299"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.10.243"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.15.192"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.1.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.6.105"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.12.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.16.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T17:44:27.798Z"}}]}}}