{"id":"CVE-2026-98186","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length\n\nmwifiex_search_oui_in_ie() reads a pairwise-cipher (PTK) count from a\nbeacon/probe-response RSN or W…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length\n\nmwifiex_search_oui_in_ie() reads a pairwise-cipher (PTK) count from a\nbeacon/probe-response RSN or W…","severity":"high","vendor":"Linux","product":"Linux","affected":["Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 77e642af7f2f6029e12a35c847c56cbd0466e799","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 58767b41f87244eebaa5a475b9d276c83b89b933","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 2402c9e2644b7e10c7aaaf87bf12743d7e363559","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 54a9cc5bd70b0d77a5069d4c46998c679a10c857","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df","Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e < e667aee1c192d67d27c803007bfa9c6e0873e959","Linux 3.0"],"published":"2026-10-06","updated":"2026-10-06","sourceUpdated":"2026-10-06T09:18:03.540","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98186","references":[{"url":"https://git.kernel.org/stable/c/2402c9e2644b7e10c7aaaf87bf12743d7e363559","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/54a9cc5bd70b0d77a5069d4c46998c679a10c857","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/58767b41f87244eebaa5a475b9d276c83b89b933","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/77e642af7f2f6029e12a35c847c56cbd0466e799","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e667aee1c192d67d27c803007bfa9c6e0873e959","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98186.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98186"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2546474"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98186"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98186"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98186.mbox"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-10-06T08:50:17.450Z","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":["CWE-125"],"epss":0.00177,"epssPercentile":0.0718,"slug":"CVE-2026-98186","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length\n\nmwifiex_search_oui_in_ie() reads a pairwise-cipher (PTK) count from a\nbeacon/probe-response RSN or WPA information element and then walks that\nmany 4-byte OUIs, comparing each with memcmp(). The count comes straight\nfrom the (attacker-supplied) IE and is never checked against the\nelement's own length, and the callers admit the element on element_id\nalone (has_ieee_hdr() / has_vendor_hdr(), no length check). A crafted\nRSN/WPA IE with a large pairwise count therefore makes the walk read up\nto 255 * 4 bytes past the element -- an out-of-bounds read of the\nkmemdup()'d beacon buffer, reachable from any AP whose beacon/probe\nresponse is processed during scan-result parsing.\n\nPass the number of IE bytes available at the OUI list and bound the walk\nto the element. Keep the length signed and reject a negative value\nbefore any unsigned arithmetic, so a small or zero IE length cannot\nunderflow to a large size_t and defeat the bound.\n\nFound by 0sec automated security-research tooling (https://0sec.ai).\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, … · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98186.json)","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":218457,"id":"CVE-2026-98186","ts":1791533812293,"field":"cvss","old":null,"new":"7"},{"seq":218456,"id":"CVE-2026-98186","ts":1791533812293,"field":"severity","old":"none","new":"high"}]}