CVE-2026-64255
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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().
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 9aa3856d9b6f3f8bf085b5bbb5f3703578bf452b < 1de92789ce31e46fa7e7d8e89c90b19cdb1c103b | affected |
| Linux | Linux | 9aa3856d9b6f3f8bf085b5bbb5f3703578bf452b < fe7f339f63c9dc4ca546ed7ac38ba4bb3a99dcfc | affected |
| Linux | Linux | 9aa3856d9b6f3f8bf085b5bbb5f3703578bf452b < f056fc2b927448d37eca6b6cacc3d1b0f67b20d2 | affected |
| Linux | Linux | 6.4 | affected |
| Linux | Linux | 0 < 6.4 | unaffected |
| Linux | Linux | 6.18.38 <= 6.18.* | unaffected |
| Linux | Linux | 7.1.3 <= 7.1.* | unaffected |
| Linux | Linux | 7.2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/1de92789ce31e46fa7e7d8e89c90b19cdb1c103b
- https://git.kernel.org/stable/c/fe7f339f63c9dc4ca546ed7ac38ba4bb3a99dcfc
- https://git.kernel.org/stable/c/f056fc2b927448d37eca6b6cacc3d1b0f67b20d2
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.