Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mwifiex: prevent authentication frame length truncation

mwifiex_cfg80211_authenticate() derives the authentication frame length
from req->ie_len and req->auth_data_len, both of type size_t, but stores
it in a u16.

NL80211_ATTR_AUTH_DATA only has a minimum length policy. Since nla_len is
a u16, a single attribute can carry up to 65531 bytes of payload, so the
sum can exceed U16_MAX before it is assigned to pkt_len. The truncated
pkt_len determines the skb frame area, while the copy length remains
req->auth_data_len - 4, resulting in a heap buffer overflow.

For example, with auth_data_len equal to 65510 and no IEs, the sum is
65546. It is truncated to 10 and then reduced by four to 6. The driver
appends only six bytes to the skb with skb_put(), but then copies 65506
user-provided bytes into the authentication body.

Reaching this path requires CAP_NET_ADMIN in the user namespace owning
the network namespace, an up station netdev, and a suitable BSS/SAE
authentication request.

Compute the length in size_t, reject values that cannot be represented by
the firmware's u16 frame length field, and only then assign it to pkt_len.
Published: 2026-10-06
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Heap Buffer Overflow
Action: Patch Kernel
AI Analysis

Impact

The mwifiex wireless driver calculates the authentication frame length by summing two size_t values and then storing the result in a 16‑bit field. Because the sum can exceed the maximum representable u16 value, the length is truncated before being used as the packet length. The driver then copies more data than the allocated buffer can hold, leading to a heap buffer overflow that corrupts heap memory and can cause a crash. This vulnerability is an instance of CWE-787, an out-of-bounds write that results in a heap buffer overflow.

Affected Systems

Any Linux system that includes the mwifiex driver in its kernel image is potentially vulnerable. Without version information, all releases before the applied patch are at risk.

Risk and Exploitability

Exploitation requires a user with CAP_NET_ADMIN in the target network namespace, an active station interface, and the ability to send a specially crafted SAE authentication request containing a large authentication data attribute. The CVSS score of 7.0 indicates medium‑to‑high severity, but the EPSS score of less than 1% and absence from the CISA KEV catalog suggest a low probability of exploitation in the wild. An attacker would need to run a privileged process on the target host, limiting the vulnerability to local privilege escalation or denial of service scenarios.

Generated by OpenCVE AI on October 9, 2026 at 06:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that includes the mwifiex driver fix that prevents frame length truncation.
  • If a kernel update cannot be performed immediately, minimize the risk by removing the CAP_NET_ADMIN capability from untrusted users or services that are not required to manage Wi‑Fi interfaces, and audit network namespaces for abnormal authentication traffic.
  • As a temporary containment measure, unload the mwifiex module or block Wi‑Fi hardware on systems that do not rely on wireless connectivity until the kernel patch is applied.

Generated by OpenCVE AI on October 9, 2026 at 06:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Fri, 09 Oct 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-680

Fri, 09 Oct 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Wed, 07 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-680

Wed, 07 Oct 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
CWE-190
CWE-680

Tue, 06 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
CWE-190
CWE-680

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: prevent authentication frame length truncation mwifiex_cfg80211_authenticate() derives the authentication frame length from req->ie_len and req->auth_data_len, both of type size_t, but stores it in a u16. NL80211_ATTR_AUTH_DATA only has a minimum length policy. Since nla_len is a u16, a single attribute can carry up to 65531 bytes of payload, so the sum can exceed U16_MAX before it is assigned to pkt_len. The truncated pkt_len determines the skb frame area, while the copy length remains req->auth_data_len - 4, resulting in a heap buffer overflow. For example, with auth_data_len equal to 65510 and no IEs, the sum is 65546. It is truncated to 10 and then reduced by four to 6. The driver appends only six bytes to the skb with skb_put(), but then copies 65506 user-provided bytes into the authentication body. Reaching this path requires CAP_NET_ADMIN in the user namespace owning the network namespace, an up station netdev, and a suitable BSS/SAE authentication request. Compute the length in size_t, reject values that cannot be represented by the firmware's u16 frame length field, and only then assign it to pkt_len.
Title wifi: mwifiex: prevent authentication frame length truncation
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-10-19T09:15:15.381Z

Reserved: 2026-09-25T10:25:14.323Z

Link: CVE-2026-98184

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:03.233

Modified: 2026-10-19T10:18:18.727

Link: CVE-2026-98184

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98184 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T06:30:17Z

Weaknesses