wifi: iwlwifi: mvm: clean up ROC on failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.196.13.76.14In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: clean up ROC on failure
If the firmware fails to start the session protection, then we do call iwl_mvm_roc_finished() here, but that won't do anything at all because IWL_MVM_STATUS_ROC_P2P_RUNNING was never set. Set IWL_MVM_STATUS_ROC_P2P_RUNNING in the failure/stop path. If it started successfully before, it's already set, so that doesn't matter, and if it didn't start it needs to be set to clean up.
Not doing so will lead to a WARN_ON() later on a fresh remain- on-channel, since the link is already active when activated as it was never deactivated.
From the CVE record · Linux
In the Linux kernel’s iwlwifi mvm component, a firmware failure to start session protection can leave a remain-on-channel link active. A later fresh remain-on-channel operation can trigger a WARN_ON(). The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the iwlwifi mvm component should check whether their kernel includes the fix; affected versions are not specified.