В ядре Linux устранена следующая уязвимость:
Wi-Fi: mac80211: проверка границ link_id в ieee80211_ml_epcs
IEEE80211_MLE_STA_EPCS_CONTROL_LINK_ID имеет значение 0x000f, поэтому link_id извлечен.
из элемента PRIO_ACCESS ML подэлемент PER_STA_PROFILE может иметь значение 0..15.
sdata->link[] содержит записи IEEE80211_MLD_MAX_NUM_LINKS (15) (индексы 0..14),
делая индекс 15 выходом за пределы поля. Подключенная точка доступа Wi-Fi 7 может инициировать это, отправив ответ на включение EPCS. Кадр действия с подэлементом PER_STA_PROFILE, где link_id = 15.
Путь незапрошенного уведомления (dialog_token = 0) доступен в любое время
EPCS уже включена без предварительного запроса клиента.
sdata->link[15] считывает первое слово sdata->activate_links_work
(wiphy_work, встроенный list_head которого не равен NULL после INIT_LIST_HEAD),
поэтому проверка NULL результата не обнаруживает недопустимый доступ.
указатель мусора затем передается в ieee80211_sta_wmm_params(), который
разыменовывает link->sdata и приводит к сбою ядра. Ошибка того же класса была исправлена для ieee80211_ml_reconfiguration() с помощью
commit 162d331d833d («wifi: mac80211: проверка границ link_id в
ieee80211_ml_reconfiguration").
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: bounds-check link_id in ieee80211_ml_epcs IEEE80211_MLE_STA_EPCS_CONTROL_LINK_ID is 0x000f, so link_id extracted from a PRIO_ACCESS ML element PER_STA_PROFILE subelement can be 0..15. sdata->link[] has IEEE80211_MLD_MAX_NUM_LINKS (15) entries (indices 0..14), making index 15 out-of-bounds. A connected WiFi 7 AP can trigger this by sending an EPCS Enable Response action frame with a PER_STA_PROFILE subelement where link_id = 15. The unsolicited-notification path (dialog_token = 0) is reachable any time EPCS is already enabled, without any prior client request. sdata->link[15] reads into the first word of sdata->activate_links_work (a wiphy_work whose embedded list_head is non-NULL after INIT_LIST_HEAD), so the NULL check on the result does not catch the invalid access. The garbage pointer is then passed to ieee80211_sta_wmm_params(), which dereferences link->sdata and crashes the kernel. The same class of bug was fixed for ieee80211_ml_reconfiguration() by commit 162d331d833d ("wifi: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration").
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.15
|
6.18.34
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.0.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
|
— | — |