{"id":"CVE-2026-68326","aliases":["CVE-2026-68326"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: mwifiex: bound uAP association event IEs to the event buffer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: bound uAP association event IEs to the event buffer\n\nmwifiex_process_uap_event() handles EVENT_UAP_STA_ASSOC by exposing the\n(re)association request IEs that the firmware copies into the event:\n\n\tsinfo->assoc_req_ies = &event->data[len];\n\tlen = (u8 *)sinfo->assoc_req_ies - (u8 *)&event->frame_control;\n\tsinfo->assoc_req_ies_len = le16_to_cpu(event->len) - (u16)len;\n\nevent->len is supplied by the device firmware and is never validated,\nand the subtraction is unchecked.  assoc_req_ies points into\nadapter->event_body[MAX_EVENT_SIZE], a fixed-size array embedded in the\nkmalloc()'d struct mwifiex_adapter.\n\nOn the ap_11n_enabled path mwifiex_set_sta_ht_cap() walks these IEs with\ncfg80211_find_ie(), whose for_each_element() loop dereferences each\nelement header.  A firmware-reported event->len larger than the bytes\nactually received makes assoc_req_ies_len describe IEs that extend past\nevent_body, so the walk reads out of the adapter slab object, a\nslab-out-of-bounds read (KASAN: slab-out-of-bounds in cfg80211_find_ie).\nAn event->len smaller than the header instead makes the int subtraction\nnegative, which wraps to a huge size_t when stored in assoc_req_ies_len.\nThe same length is handed to cfg80211_new_sta(), so a more modest\nover-claim can also copy stale event_body bytes into the\nNL80211_CMD_NEW_STATION notification.\n\nA malicious or malfunctioning mwifiex device (USB/SDIO/PCIe) can deliver\nsuch an event while the interface is in AP/uAP mode.\n\nValidate event->len before use: reject a length that underflows the\nheader or that would place the IEs outside the event_body[] buffer the\nevent was copied into.  event->len here is struct mwifiex_assoc_event.len,\na payload field internal to this event, not the transport frame length,\nso it is validated in this handler rather than at the generic\nMWIFIEX_TYPE_EVENT receive path, which only sees the event cause and the\ntransport frame length.  The bound is against event_body[MAX_EVENT_SIZE]\nrather than the actually-received length because the transports store the\nevent differently (USB and SDIO leave the 4-byte event header in\nevent_skb, PCIe strips it via skb_pull), whereas event_body is the single\nfixed buffer all of them copy the event into.  This is the event-path\nanalogue of the receive-path bounds checks added in commit 119585281617\n(\"wifi: mwifiex: Fix OOB and integer underflow when rx packets\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: bound uAP association event IEs to the event buffer\n\nmwifiex_process_uap_event() handles EVENT_UAP_STA_ASSOC by exposing the\n(re)association request IEs that the firmware copies into the event:\n\n\tsinfo->assoc_req_ies = &event->data[len];\n\tlen = (u8 *)sinfo->assoc_req_ies - (u8 *)&event->frame_control;\n\tsinfo->assoc_req_ies_len = le16_to_cpu(event->len) - (u16)len;\n\nevent->len is supplied by the device firmware and is never validated,\nand the subtraction is unchecked.  assoc_req_ies points into\nadapter->event_body[MAX_EVENT_SIZE], a fixed-size array embedded in the\nkmalloc()'d struct mwifiex_adapter.\n\nOn the ap_11n_enabled path mwifiex_set_sta_ht_cap() walks these IEs with\ncfg80211_find_ie(), whose for_each_element() loop dereferences each\nelement header.  A firmware-reported event->len larger than the bytes\nactually received makes assoc_req_ies_len describe IEs that extend past\nevent_body, so the walk reads out of the adapter slab object, a\nslab-out-of-bounds read (KASAN: slab-out-of-bounds in cfg80211_find_ie).\nAn event->len smaller than the header instead makes the int subtraction\nnegative, which wraps to a huge size_t when stored in assoc_req_ies_len.\nThe same length is handed to cfg80211_new_sta(), so a more modest\nover-claim can also copy stale event_body bytes into the\nNL80211_CMD_NEW_STATION notification.\n\nA malicious or malfunctioning mwifiex device (USB/SDIO/PCIe) can deliver\nsuch an event while the interface is in AP/uAP mode.\n\nValidate event->len before use: reject a length that underflows the\nheader or that would place the IEs outside the event_body[] buffer the\nevent was copied into.  event->len here is struct mwifiex_assoc_event.len,\na payload field internal to this event, not the transport frame length,\nso it is validated in this handler rather than at the generic\nMWIFIEX_TYPE_EVENT receive path, which only sees the event cause and the\ntransport frame length.  The bound is against event_body[MAX_EVENT_SIZE]\nrather than the actually-received length because the transports store the\nevent differently (USB and SDIO leave the 4-byte event header in\nevent_skb, PCIe strips it via skb_pull), whereas event_body is the single\nfixed buffer all of them copy the event into.  This is the event-path\nanalogue of the receive-path bounds checks added in commit 119585281617\n(\"wifi: mwifiex: Fix OOB and integer underflow when rx packets\").","source":"cvelist"}],"published":"2026-08-10T12:03:02.372Z","modified":"2026-10-19T22:17:13.360Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"a616616b938f7922a93e79bef16b4643c57c0922","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"1ae00b6d9a6c82eb3de151d9b04ed59e06cc100f","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"e7e93d3e8c240bdb70c41e79d169d74dfb442843","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"a3f47d7c75ddad1a14621a309286f9fae3cba191","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"ad26c75ae25749313248f06510ebe43b5bf4adcc","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"d21464d93f8ba464dc3d7b4b31c6e0adcd9f659c","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"b6766d7ea43edf5de9d5a572bc58b631d09efe4b","status":"affected"},{"type":"git","introduced":"e568634ae7ac379661c90731d480e067929420a1","fixed":"f0858bfc7d3cab411a447b88e3ef970e575032c9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a616616b938f7922a93e79bef16b4643c57c0922","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ae00b6d9a6c82eb3de151d9b04ed59e06cc100f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7e93d3e8c240bdb70c41e79d169d74dfb442843","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3f47d7c75ddad1a14621a309286f9fae3cba191","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad26c75ae25749313248f06510ebe43b5bf4adcc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d21464d93f8ba464dc3d7b4b31c6e0adcd9f659c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6766d7ea43edf5de9d5a572bc58b631d09efe4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0858bfc7d3cab411a447b88e3ef970e575032c9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:47:09.561Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68326","url":"https://www.cve.org/CVERecord?id=CVE-2026-68326","licence":"CVE Terms of Use","modified":"2026-10-19T21:09:04.965Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68326","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68326","licence":"Public domain","modified":"2026-10-19T22:17:13.360Z"}],"updatedAt":"2026-11-25T22:59:32.087Z","epss":{"score":0.00263,"percentile":0.11146,"date":"2026-11-30T12:00:22.000Z"}}