CVE-2025-39891

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().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: wifi: mwifiex: Inicializar el array chan_stats a cero El array adapter->chan_stats[] se inicializa en mwifiex_init_channel_scan_gap() con vmalloc(), que no pone a cero la memoria. El array se rellena en mwifiex_update_chan_statistics() y luego el usuario puede consultar los datos en mwifiex_cfg80211_dump_survey(). Hay dos problemas potenciales aquí. ¿Qué pasa si el usuario llama a mwifiex_cfg80211_dump_survey() antes de que los datos se hayan rellenado? Además, la función mwifiex_update_chan_statistics() no inicializa necesariamente todo el array. Dado que el array no se inicializó al principio, eso podría resultar en una fuga de información. Además, este array es bastante pequeño. Es un máximo de 900 bytes, por lo que es más apropiado usar kcalloc() en lugar de vmalloc().

Information

Published : 2025-10-01 08:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39891

Mitre link : CVE-2025-39891

CVE.ORG link : CVE-2025-39891


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel