In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: stop PMSR before P2P and NAN teardown PMSR request teardown must abort active measurements while the wireless_dev is still present in the driver. cfg80211_leave_locked() and cfg80211_stop_pd() already do this before invoking the driver's stop callback, but cfg80211_stop_p2p_device() and cfg80211_stop_nan() do not. Эти помощники также вызываются напрямую путями nl80211, rfkill shutdown и wireless_dev unregister. Если один из этих путей останавливает устройство P2P или интерфейс NAN с отложенным запросом, он сначала удаляет подинтерфейс mac80211.
Последующая очистка запроса не может достичь обратного вызова нижнего драйвера, но cfg80211 освобождает запрос независимо от этого. Состояние драйвера может затем сохранить устаревший запрос и использовать его, когда он позже сообщит результат. Вызовите cfg80211_pmsr_wdev_down() перед остановкой устройства P2P или интерфейса NAN.
Это позволяет синхронизировать состояние запроса с более низким драйвером и владение запросом cfg80211 для всех звонящих помощников.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: stop PMSR before P2P and NAN teardown PMSR request teardown must abort active measurements while the wireless_dev is still present in the driver. cfg80211_leave_locked() and cfg80211_stop_pd() already do this before invoking the driver's stop callback, but cfg80211_stop_p2p_device() and cfg80211_stop_nan() do not. Those helpers are also called directly by nl80211, rfkill shutdown, and wireless_dev unregister paths. If one of these paths stops a P2P device or NAN interface with a pending request, it removes the mac80211 subinterface from the driver first. Subsequent request cleanup cannot reach the lower driver's abort callback, but cfg80211 frees the request regardless. Driver state can then retain a stale request and use it when it later reports a result. Call cfg80211_pmsr_wdev_down() before stopping the P2P device or NAN interface. This keeps lower-driver request state and cfg80211 request ownership in sync for all of the helpers' callers.
Характеристики атаки
Последствия
Строка CVSS v3.1