CVE-2026-23279

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

В ядре Linux устранена следующая уязвимость: wifi: mac80211: исправлено разыменование нулевого указателя в mesh_rx_csa_frame() В mesh_rx_csa_frame() разыменовывается elems->mesh_chansw_params_ie. в строках 1638 и 1642 без предварительной проверки NULL: ifmsh->chsw_ttl = elems->mesh_chansw_params_ie->mesh_ttl; ... pre_value = le16_to_cpu(elems->mesh_chansw_params_ie->mesh_pre_value); Вышеупомянутая проверка mesh_matches_local() проверяет только идентификатор сетки, Конфигурация сети и поддерживаемые IE скоростей. Он не проверяет наличие IE Mesh Channel Switch Settings (ID элемента 118). Когда полученный кадр действия CSA пропускает этот IE, ieee802_11_parse_elems() оставляет elems->mesh_chansw_params_ie равным NULL, а безусловный разыменование приводит к разыменованию нулевого указателя ядра.

Удаленный одноранговый узел с установленным одноранговым соединением (PLINK_ESTAB) может инициируйте это, отправив созданный кадр действия SPECTRUM_MGMT/CHL_SWITCH который включает в себя соответствующий идентификатор сети и IE конфигурации сети, но не содержит Параметры переключателя каналов сетки IE. Нет аутентификации, кроме установленной по умолчанию Требуется открытый пиринг сети. Сбой подтвержден на ядре 6.17.0-5-generic через mac80211_hwsim: ОШИБКА: разыменование нулевого указателя ядра, адрес: 0000000000000000 Упс: Упс: 0000 [#1] SMP NOPTI RIP: 0010:ieee80211_mesh_rx_queued_mgmt+0x143/0x2a0 [mac80211] CR2: 0000000000000000 Исправьте это, добавив проверку NULL для mesh_chansw_params_ie после mesh_matches_local() возвращает результат, как и другие дополнительные IE. охраняются по всему коду сетки.

Ошибка присутствует начиная с версии 3.13 (выпущенной 19 января 2014 г.).

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

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix NULL pointer dereference in mesh_rx_csa_frame() In mesh_rx_csa_frame(), elems->mesh_chansw_params_ie is dereferenced at lines 1638 and 1642 without a prior NULL check: ifmsh->chsw_ttl = elems->mesh_chansw_params_ie->mesh_ttl; ... pre_value = le16_to_cpu(elems->mesh_chansw_params_ie->mesh_pre_value); The mesh_matches_local() check above only validates the Mesh ID, Mesh Configuration, and Supported Rates IEs. It does not verify the presence of the Mesh Channel Switch Parameters IE (element ID 118). When a received CSA action frame omits that IE, ieee802_11_parse_elems() leaves elems->mesh_chansw_params_ie as NULL, and the unconditional dereference causes a kernel NULL pointer dereference. A remote mesh peer with an established peer link (PLINK_ESTAB) can trigger this by sending a crafted SPECTRUM_MGMT/CHL_SWITCH action frame that includes a matching Mesh ID and Mesh Configuration IE but omits the Mesh Channel Switch Parameters IE. No authentication beyond the default open mesh peering is required. Crash confirmed on kernel 6.17.0-5-generic via mac80211_hwsim: BUG: kernel NULL pointer dereference, address: 0000000000000000 Oops: Oops: 0000 [#1] SMP NOPTI RIP: 0010:ieee80211_mesh_rx_queued_mgmt+0x143/0x2a0 [mac80211] CR2: 0000000000000000 Fix by adding a NULL check for mesh_chansw_params_ie after mesh_matches_local() returns, consistent with how other optional IEs are guarded throughout the mesh code. The bug has been present since v3.13 (released 2014-01-19).