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().
Published: 2026-07-24
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from the iwlwifi driver in the Linux kernel, where several Block ACK (BA) session handlers derive a station ID by calling ffs(ba_data->sta_mask) – 1 without checking that sta_mask is non‑zero. When sta_mask is zero, ffs() returns zero, the subtraction underflows to 0xFFFFFFFF, and the resulting index causes an out‑of‑bounds read on the fw_id_to_link_sta array. This missing input validation can corrupt kernel memory and lead to a crash (denial of service). The weakness is an unchecked return value that leads to an out‑of‑bounds read, involving both CWE‑823 and CWE‑125.

Affected Systems

This flaw affects all Linux kernel builds that include the iwlwifi driver before the patch that adds WARN_ON_ONCE guards, including the stable and long‑term support releases that have not yet incorporated the commit referenced in the advisory. Any system running such a kernel is potentially exposed.

Risk and Exploitability

The EPSS score is below 1 % and the vulnerability is currently not listed in CISA KEV, indicating a low probability of exploitation in the wild. However, if an attacker can place themselves within range of the affected Wi‑Fi hardware and send crafted BA session frames, they could trigger an out‑of‑bounds access and crash the kernel. Based on the description, it is inferred that the attack vector is network‑based, originating from a nearby malicious device or rogue access point, and requires that the victim device is using the vulnerable iwlwifi driver with BA sessions enabled.

Generated by OpenCVE AI on August 13, 2026 at 10:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the iwlwifi fix for this flaw.
  • If an update is not yet available, manually apply the patch from the repository that adds the WARN_ON_ONCE guard to the BA session handlers.
  • As a temporary workaround, disable A‑MPDU reception or the BA session feature on the affected Intel wireless adapter until a kernel update is applied.

Generated by OpenCVE AI on August 13, 2026 at 10:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Mon, 03 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 30 Jul 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-823
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
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().
Title wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:40:18.176Z

Reserved: 2026-07-19T15:36:31.773Z

Link: CVE-2026-64255

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T16:16:55.257

Modified: 2026-08-12T15:53:21.027

Link: CVE-2026-64255

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-24T00:00:00Z

Links: CVE-2026-64255 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T11:00:12Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-823

    Use of Out-of-range Pointer Offset