Bug 2506782 (CVE-2026-64255) - CVE-2026-64255 kernel: wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers
Summary: CVE-2026-64255 kernel: wifi: iwlwifi: mld: validate sta_mask before ffs() in ...
Keywords:
Status: NEW
Alias: CVE-2026-64255
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-24 16:02 UTC by OSIDB Bzimport
Modified: 2026-09-14 13:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:65334 0 None None None 2026-09-08 11:35:24 UTC
Red Hat Product Errata RHSA-2026:67150 0 None None None 2026-09-14 13:36:34 UTC

Description OSIDB Bzimport 2026-07-24 16:02:22 UTC
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().

Comment 1 Mauro Matteo Cascella 2026-07-28 09:07:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072420-CVE-2026-64255-f09c@gregkh/T

Comment 3 errata-xmlrpc 2026-09-08 11:35:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:65334 https://access.redhat.com/errata/RHSA-2026:65334

Comment 4 Jon Orris 2026-09-14 13:36:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:67150 https://access.redhat.com/errata/RHSA-2026:67150


Note You need to log in before you can comment on or make changes to this bug.