Ad

CVE-2026-98706

NONE EPSS 0.18%
Обновлено 30 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: wifi: mac80211: работа по доставке PS во время демонтажа станции Removing или AP или сетчатая станция может уведомить водителя и разбудить TXQs после того, как станция уже была удалена из драйвера, и может обновить num_sta_ps и очереди экономии энергии после очистки станции. sta_deliver_ps_frames () тесты sta->dead только до его начала доставки. Работник, который проходит этот тест, может быть отложен, в то время как демонтаж устанавливает sta->dead и удаляет станцию у водителя; когда он возобновляет работу, он по-прежнему запускает полную доставку. Существующий cancel_work_sync () находится ближе к концу __cleanup_single_sta (), после окончательного перехода состояния драйвера и после очистки PS от учета и очереди, поэтому он истощает работника только после того, как состояние, которое он должен защитить, уже изменилось.

Перед совершением d34ba2168a3c ("mac80211: не задерживайте разрушение станции») очистка была отложена через ту же упорядоченную очередь, что и работа по доставке, которая поддерживала порядок. Отмените работу после установки sta->dead и перед перемещением состояния драйвера и переместите существующую отмену в начало __cleanup_single_sta(). Первый слив закрывает окно времени жизни драйвера; обратные вызовы драйверов во время оставшихся переходов состояния могут по-прежнему ставиться в очередь drv_deliver_wk через ieee80211_sta_block_awake(), поэтому сохраняйте второй слив в начале __cleanup_single_sta().

Этот слив также охватывает ошибки вставки, которые достигают очистки без установки sta->dead.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: drain PS delivery work during station teardown Removing an AP or mesh station can notify the driver and wake TXQs after the station has already been removed from the driver, and can update num_sta_ps and the power-save queues after station cleanup has purged them. sta_deliver_ps_frames() tests sta->dead only before it starts delivery. A worker that passes that test can be delayed while teardown sets sta->dead and removes the station from the driver; when it resumes it still runs the full delivery. The existing cancel_work_sync() sits near the end of __cleanup_single_sta(), after the final driver state transition and after PS accounting and queue purging, so it drains the worker only once the state it has to protect has already changed. Before commit d34ba2168a3c ("mac80211: don't delay station destruction") cleanup was deferred through the same ordered workqueue as the delivery work, which kept the two ordered. Cancel the work after setting sta->dead and before moving the driver state, and move the existing cancellation to the start of __cleanup_single_sta(). The first drain closes the driver-lifetime window; driver callbacks during the remaining state transitions can still queue drv_deliver_wk through ieee80211_sta_block_awake(), so retain the second drain at the start of __cleanup_single_sta(). That drain also covers insertion failures, which reach cleanup without setting sta->dead.