CVE-2026-98184

Source
https://cve.org/CVERecord?id=CVE-2026-98184
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98184.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98184
Downstream
Published
2026-10-06T08:44:26Z
Modified
2026-10-08T02:52:52Z
Summary
wifi: mwifiex: prevent authentication frame length truncation
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98184.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
36995892c271cce5e2230bc165a06f109b117222
Fixed
25c45a2075cc00faed45f92a64bb172fb074a2ee
Fixed
5747eaa38a7fcad48be2fd910b65008198b2b06c
Fixed
877b61a67d5eb3e616478daf3908114b57feff1e
Fixed
fa00193eb991f92b007aefe7afb6a7566976dacf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98184.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.54
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98184.json"