Katalog CVE

CVE-2026-97492

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w podsystemie wifi: mac80211 funkcja ieee80211_handle_reconfig_failure jest wywoływana przy nieudanej rekonfiguracji NAN, co oznacza wszystkie interfejsy jako nieobecne w sterowniku. Następnie cfg80211_shutdown_all_interfaces niszczy interfejsy, ale stany innych interfejsów (np. BSS station) nie są zgłaszane sterownikowi, co może pozostawić wiszące wskaźniki do stacji i linków (przynajmniej w iwlwifi).

Ocena ryzyka

Wiszące wskaźniki w sterowniku mogą prowadzić do użycia po zwolnieniu pamięci (use-after-free) i potencjalnego wykonania kodu lub zawieszenia systemu. Wymaga lokalnego dostępu i możliwości wywołania rekonfiguracji NAN.

Rekomendacja

Zaktualizować jądro Linux do wersji zawierającej poprawkę, która w przypadku niepowodzenia rekonfiguracji NAN tylko ostrzega, zamiast wywoływać ieee80211_handle_reconfig_failure.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: don't call ieee80211_handle_reconfig_failure when not needed In case reconfiguration of NAN fails, we call ieee80211_handle_reconfig_failure, that marks all interfaces as not in the driver. Then, at the error path of the reconfig, cfg80211_shutdown_all_interfaces is called to destroy all the interfaces. If we have any other interface but the NAN one, for example a BSS station, then when its state (links, stations) will be removed, we won't tell the driver about this, because we will think that the interfaces are not in the driver, and then drivers might remain with dangling pointers to objects like stations and links (at least for iwlwifi this is the case). ieee80211_handle_reconfig_failure is meant to be called after we cleaned up the state in the driver, there is no reason to call it for NAN reconfiguration failure. Fix the code to just warn in such a case, as we do in other error paths in reconfig where it is too complicated to rewind.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS