CVE-2026-98186
wifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length mwifiex_search_oui_in_ie() reads a pairwise-cipher (PTK) count from a beacon/probe-response RSN or WPA information element and then walks that many 4-byte OUIs, comparing each with memcmp(). The count comes straight from the (attacker-supplied) IE and is never checked against the element's own length, and the callers admit the element on element_id alone (has_ieee_hdr() / has_vendor_hdr(), no length check). A crafted RSN/WPA IE with a large pairwise count therefore makes the walk read up to 255 * 4 bytes past the element -- an out-of-bounds read of the kmemdup()'d beacon buffer, reachable from any AP whose beacon/probe response is processed during scan-result parsing. Pass the number of IE bytes available at the OUI list and bound the walk to the element. Keep the length signed and reject a negative value before any unsigned arithmetic, so a small or zero IE length cannot underflow to a large size_t and defeat the bound. Found by 0sec automated security-research tooling (https://0sec.ai).
EPSS 0.18% · 7.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e667aee1c192d67d27c803007bfa9c6e0873e959, 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed, 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960, 77e642af7f2f6029e12a35c847c56cbd0466e799, 58767b41f87244eebaa5a475b9d276c83b89b933, 54a9cc5bd70b0d77a5069d4c46998c679a10c857, 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df, 2402c9e2644b7e10c7aaaf87bf12743d7e363559 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e |
| Linux | Linux | 3.0, 0, 5.10.271 |
| Linux | Linux | 5.10.271, 5.15.222, 6.1.189 |
| linux | linux_kernel | 3.0, 3.0, 3.0 |
| Linux | Linux kernel |
Timeline
- Oct 6, 2026 EPSS Score (5 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98186
vulnetix vdb fixes CVE-2026-98186
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98186/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart