CVE-2026-68469
Fecha de publicación:
15/08/2026
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: mwifiex: fix permanently busy scans after multiple roam iterations<br />
<br />
In order for the firmware to sleep, the driver has to confirm a<br />
previously received sleep request. The normal sequence of evets goes<br />
like this:<br />
EVENT_SLEEP -> adapter->ps_state = PS_STATE_PRE_SLEEP -> sleep-confirm<br />
-> SLEEP -> EVENT_AWAKE -> AWAKE.<br />
Before sending the sleep-confirm command, the driver must make sure<br />
there are no commands either running or waiting to be completed.<br />
<br />
mwifiex_ret_802_11_associate() unconditionally sets<br />
ps_state = PS_STATE_AWAKE when it processes the association command<br />
response, outside of the normal powersave management flow. If<br />
EVENT_SLEEP arrives while the association command is in flight,<br />
ps_state is PRE_SLEEP when the association command response is parsed,<br />
and the forced AWAKE overwrites it. The deferred sleep-confirm is<br />
never sent.<br />
<br />
A subsequent scan_start command is correctly acknowledged, but the<br />
firmware doesn&#39;t generate scan_result events. The scan request never<br />
finishes, and additional requests from userspace fail with -EBUSY.<br />
<br />
After testing on both IW412 and W8997, I could only trigger the bug on<br />
the IW412 and observed the firmwares behave differently. On the IW412<br />
the firmware still sends EVENT_SLEEP while the authentication /<br />
association process is ongoing. A W8997 under the same<br />
conditions seems to suppress power-save for the duration of the<br />
association, so PRE_SLEEP never coincided with the association response<br />
even after extended periods of testing using the loops<br />
described below (>12hours).<br />
<br />
On the IW412, the delay between commands that triggers an EVENT_SLEEP<br />
was empirically determined to be ~20ms. This delay can naturally occur<br />
when the driver is outputting debugging information<br />
(debug_mask = 0x00000037), in which situation the busy scans issue is<br />
repeatable while running "test 1)" as described below. If the delay<br />
between commands is less than ~20ms, the firmware stays awake and<br />
the issue was not reproducible running the same test.<br />
<br />
The host_mlme=false path also behaves differently. In this case, the<br />
entire authentication / association transaction is executed by one<br />
command (HostCmd_CMD_802_11_ASSOCIATE), and the firmware doesn&#39;t emit<br />
EVENT_SLEEP while the command is running.<br />
<br />
Remove the assignment so the ps_state is only manipulated in the paths<br />
that are related to powersave event handling and on the main workqueue<br />
for correct sleep confirmation.<br />
<br />
The following loop tests were performed (with debugging output enabled):<br />
1) force roaming between two AP&#39;s, one 5GHz and one 2.4GHz, same<br />
SSID. Use wpa_cli to trigger the roaming behavior, sleep 2s<br />
between iterations.<br />
2) force a disconnection to AP 1 and a connection to AP 2, test<br />
scan. Use wpa_cli to trigger the connection changes, sleep 2s<br />
between iterations.<br />
<br />
Each test ran in each device for at least 3 hours.
Gravedad: Pendiente de análisis
Última modificación:
06/11/2026