A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: don't call ieee80211_handle_reconfig_failure when not needed
In case reconfiguration of NAN fails, we call ieee80211_handle_reconfig_failure, that marks all interfaces as not in the driver. Then, at the error path of the reconfig, cfg80211_shutdown_all_interfaces is called to destroy all the interfaces.
If we have any other interface but the NAN one, for example a BSS station, then when its state (links, stations) will be removed, we won't tell the driver about this, because we will think that the interfaces are not in the driver, and then drivers might remain with dangling pointers to objects like stations and links (at least for iwlwifi this is the case).
ieee80211_handle_reconfig_failure is meant to be called after we cleaned up the state in the driver, there is no reason to call it for NAN reconfiguration failure.
Fix the code to just warn in such a case, as we do in other error paths in reconfig where it is too complicated to rewind.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/026637b864b16dfae238e7e1accded820a3d7ae8
- git.kernel.org /stable/c/60b96e44489d6775fe9cd8df619c29e0dc285c49
- git.kernel.org /stable/c/6ef85dd9f8c62c9a465a32901d09475a114e67bd
- git.kernel.org /stable/c/6fb64029457cdcd77be546daf4c7c7cf04891857
- git.kernel.org /stable/c/7a8a3ff2815501f78f494808355ddf37e08647d0
- git.kernel.org /stable/c/d2ea99884793c0a8d940073c3dddbb887590718f
- git.kernel.org /stable/c/f27a5bda84ff3b0fea3de7572ff48e518e66cf5d
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning