---
id: CVE-2026-98184
title: |-
  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_da…
summary: |-
  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_da…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 36995892c271cce5e2230bc165a06f109b117222 <
    25c45a2075cc00faed45f92a64bb172fb074a2ee
  - >-
    Linux >= 36995892c271cce5e2230bc165a06f109b117222 <
    5747eaa38a7fcad48be2fd910b65008198b2b06c
  - >-
    Linux >= 36995892c271cce5e2230bc165a06f109b117222 <
    877b61a67d5eb3e616478daf3908114b57feff1e
  - >-
    Linux >= 36995892c271cce5e2230bc165a06f109b117222 <
    fa00193eb991f92b007aefe7afb6a7566976dacf
  - Linux 6.12
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T09:18:03.233'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98184'
references:
  - url: 'https://git.kernel.org/stable/c/25c45a2075cc00faed45f92a64bb172fb074a2ee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5747eaa38a7fcad48be2fd910b65008198b2b06c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/877b61a67d5eb3e616478daf3908114b57feff1e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fa00193eb991f92b007aefe7afb6a7566976dacf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T08:50:17.450Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
