CVE-2026-64255

wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers

Published Jul 24, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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().

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9174-2 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9191-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-119
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'}

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
Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-823

    Use of Out-of-range Pointer Offset

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:28 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Modified
Published
Jul 24, 2026, 4:16 PM
Modified
Nov 8, 2026, 4:10 PM
Severity
Moderate
Public date
Jul 24, 2026, 12:00 AM