# CVE-2026-64255: wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-07-24T15:31:22.870Z
- Modified: 2026-11-08T16:10:00.183Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 9aa3856d9b6f3f8bf085b5bbb5f3703578bf452b before 1de92789ce31e46fa7e7d8e89c90b19cdb1c103b; from 9aa3856d9b6f3f8bf085b5bbb5f3703578bf452b before fe7f339f63c9dc4ca546ed7ac38ba4bb3a99dcfc; from 9aa3856d9b6f3f8bf085b5bbb5f3703578bf452b before f056fc2b927448d37eca6b6cacc3d1b0f67b20d2; 6.4 (not affected: before 6.4; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.4 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/1de92789ce31e46fa7e7d8e89c90b19cdb1c103b> (patch)
- <https://git.kernel.org/stable/c/fe7f339f63c9dc4ca546ed7ac38ba4bb3a99dcfc> (patch)
- <https://git.kernel.org/stable/c/f056fc2b927448d37eca6b6cacc3d1b0f67b20d2> (patch)

## Sources

- CVE List: [CVE-2026-64255](https://www.cve.org/CVERecord?id=CVE-2026-64255), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64255](https://nvd.nist.gov/vuln/detail/CVE-2026-64255), Public domain, modified 2026-11-08

---

Page: https://cve.day/CVE-2026-64255 · Whole record: https://cve.day/CVE-2026-64255.json · Rebuilt by cve.day 2026-11-25T22:59:30.021Z
