wifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length

Summary

CVECVE-2026-98186
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-06 09:18:03 UTC
Updated2026-10-06 09:18:03 UTC
DescriptionIn 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).

Risk And Classification

EPSS: 0.001840000 probability, percentile 0.073000000 (date 2026-10-06)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 77e642af7f2f6029e12a35c847c56cbd0466e799 git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 58767b41f87244eebaa5a475b9d276c83b89b933 git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 2402c9e2644b7e10c7aaaf87bf12743d7e363559 git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 54a9cc5bd70b0d77a5069d4c46998c679a10c857 git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960 git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df git Not specified
CNA Linux Linux affected 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e e667aee1c192d67d27c803007bfa9c6e0873e959 git Not specified
CNA Linux Linux affected 3.0 Not specified
CNA Linux Linux unaffected 3.0 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.54 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.8 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc4 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/58767b41f87244eebaa5a475b9d276c83b89b933 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/54a9cc5bd70b0d77a5069d4c46998c679a10c857 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e667aee1c192d67d27c803007bfa9c6e0873e959 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/77e642af7f2f6029e12a35c847c56cbd0466e799 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2402c9e2644b7e10c7aaaf87bf12743d7e363559 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report