CVE-2026-64255
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
wifi: iwlwifi: mld: sta_mask valideren voor ffs() in BA sessie handlers
Drie BA-sessiebehandelaars gebruiken ffs(ba_data->sta_mask) - 1 om een
station-ID zonder te controleren of sta_mask niet-nul is. Wanneer sta_mask is
nul, ffs() geeft 0 terug en de aftrek wraps naar 0xFFFFFFFF, waardoor
een out-of-bounds-toegang op fw_id_to_link_sta[]. Voeg WARN_ON_ONCE(!ba_data->sta_mask) bewakers toe voor elke ffs() oproep,
in overeenstemming met de bestaande check in iwl_mld_ampdu_rx_start().
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers
Three BA session handlers use ffs(ba_data->sta_mask) - 1 to derive a
station ID without checking that sta_mask is non-zero. When sta_mask is
zero, ffs() returns 0 and the subtraction wraps to 0xFFFFFFFF, causing
an out-of-bounds access on fw_id_to_link_sta[].
Add WARN_ON_ONCE(!ba_data->sta_mask) guards before each ffs() call,
consistent with the existing check in iwl_mld_ampdu_rx_start().