CVE-2026-98184
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/10/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: mwifiex: prevent authentication frame length truncation<br />
<br />
mwifiex_cfg80211_authenticate() derives the authentication frame length<br />
from req->ie_len and req->auth_data_len, both of type size_t, but stores<br />
it in a u16.<br />
<br />
NL80211_ATTR_AUTH_DATA only has a minimum length policy. Since nla_len is<br />
a u16, a single attribute can carry up to 65531 bytes of payload, so the<br />
sum can exceed U16_MAX before it is assigned to pkt_len. The truncated<br />
pkt_len determines the skb frame area, while the copy length remains<br />
req->auth_data_len - 4, resulting in a heap buffer overflow.<br />
<br />
For example, with auth_data_len equal to 65510 and no IEs, the sum is<br />
65546. It is truncated to 10 and then reduced by four to 6. The driver<br />
appends only six bytes to the skb with skb_put(), but then copies 65506<br />
user-provided bytes into the authentication body.<br />
<br />
Reaching this path requires CAP_NET_ADMIN in the user namespace owning<br />
the network namespace, an up station netdev, and a suitable BSS/SAE<br />
authentication request.<br />
<br />
Compute the length in size_t, reject values that cannot be represented by<br />
the firmware&#39;s u16 frame length field, and only then assign it to pkt_len.


