В ядре Linux устранена следующая уязвимость:
wifi: cfg80211: переменные цикла продвижения в cfg80211_merge_profile()
cfg80211_merge_profile() повторно собирает непередаваемый BSS с несколькими BSSID.
профиль, который был разделен на несколько последовательных элементов MBSSID. Его вызовы цикла while
cfg80211_get_profile_continuation (т. е. ielen, mbssid_elem, sub_elem)
но никогда не перемещает mbssid_elem или sub_elem внутри тела. Каждый
поэтому итерация ищет продолжение, которое следует за тем же
фиксированная пара; помощник возвращает тот же next_mbssid; и то же самое
Байты next_sub передаются с помощью memcpy() в merged_ie с растущим смещением до тех пор, пока
буфер заполняется.
Переместите mbssid_elem и sub_elem в только что использованное продолжение.
поэтому следующий вызов cfg80211_get_profile_continuation() ищет
дальнейшее продолжение за ним (или возвращает NULL, если его не существует). Специально созданный вредоносный маяк может воспользоваться этой ошибкой.
заставить ядро проводить слишком много времени в
cfg80211_merge_profile (до 2 мс на каждый полученный маяк),
которым теоретически можно каким-то образом злоупотреблять.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: advance loop vars in cfg80211_merge_profile() cfg80211_merge_profile() reassembles a Multi-BSSID non-transmitted BSS profile that has been split across multiple consecutive MBSSID elements. Its while-loop calls cfg80211_get_profile_continuation(ie, ielen, mbssid_elem, sub_elem) but never advances mbssid_elem or sub_elem inside the body. Each iteration therefore searches for a continuation that follows the same fixed pair; the helper returns the same next_mbssid; and the same next_sub bytes are memcpy()'d into merged_ie at a growing offset until the buffer fills. Advance both mbssid_elem and sub_elem to the just-consumed continuation so the next call to cfg80211_get_profile_continuation() searches for a further continuation beyond it (or returns NULL when none exists). A specially-crafted malicious beacon can take advantage of this bug to cause the kernel to spend an excessive amount of time in cfg80211_merge_profile (up to as much as 2ms per beacon received), which could theoretically be abused in some way.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 11
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
5.10.258
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.209
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
6.1.175
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.6.142
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.92
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
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:*:*:*:*:*:*
|
— | — |