{"id":"CVE-2026-64446","aliases":["CVE-2026-64446"],"related":[],"kind":"vulnerability","state":"published","title":"staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()\n\nsupplicant_ie is a 256-byte array in struct security_priv. The WPA and\nWPA2 IE copy paths use:\n\n    memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen + 2);\n\nwhere wpa_ielen is the raw IE length field (u8, 0-255). When a local user\nsupplies a connect request via nl80211 with a crafted WPA IE of length 255,\nwpa_ielen + 2 equals 257, overflowing the 256-byte buffer by one byte into\nthe adjacent last_mic_err_time field.\n\nrtw_parse_wpa_ie() does not prevent this: its length consistency check\ncompares *(wpa_ie+1) against (u8)(wpa_ie_len-2), which is (u8)(255) == 255\nwhen wpa_ie_len = 257, so the check passes silently.\n\nAdd explicit bounds checks for both the WPA and WPA2 paths before the\nmemcpy, rejecting any IE whose total size (wpa_ielen + 2) exceeds the\nsupplicant_ie buffer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()\n\nsupplicant_ie is a 256-byte array in struct security_priv. The WPA and\nWPA2 IE copy paths use:\n\n    memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen + 2);\n\nwhere wpa_ielen is the raw IE length field (u8, 0-255). When a local user\nsupplies a connect request via nl80211 with a crafted WPA IE of length 255,\nwpa_ielen + 2 equals 257, overflowing the 256-byte buffer by one byte into\nthe adjacent last_mic_err_time field.\n\nrtw_parse_wpa_ie() does not prevent this: its length consistency check\ncompares *(wpa_ie+1) against (u8)(wpa_ie_len-2), which is (u8)(255) == 255\nwhen wpa_ie_len = 257, so the check passes silently.\n\nAdd explicit bounds checks for both the WPA and WPA2 paths before the\nmemcpy, rejecting any IE whose total size (wpa_ielen + 2) exceeds the\nsupplicant_ie buffer.","source":"cvelist"}],"published":"2026-07-25T08:51:17.402Z","modified":"2026-11-06T17:18:54.550Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"a94a643a80a84ceb8139061c3d6bf988d75e45a5","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"2131621986c62c86109ce4d84cf73a73757eb8a6","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"6f20d7b0ee47c470734a69379b0fc6647c519603","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"5d7812360abf3143afcbf5efe4ef242448fa1f28","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"46f66c16a95191d9aca07a72ae6b1252a244e26c","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"b9c4bf133c3c47e23baf4f5403b98a953bf58606","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"138cd190efd56ab36c9fdd8fef8749d06937f24b","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"5a752a616e756844388a1a45404db9fc29fec655","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","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"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a94a643a80a84ceb8139061c3d6bf988d75e45a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2131621986c62c86109ce4d84cf73a73757eb8a6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f20d7b0ee47c470734a69379b0fc6647c519603","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d7812360abf3143afcbf5efe4ef242448fa1f28","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46f66c16a95191d9aca07a72ae6b1252a244e26c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9c4bf133c3c47e23baf4f5403b98a953bf58606","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/138cd190efd56ab36c9fdd8fef8749d06937f24b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a752a616e756844388a1a45404db9fc29fec655","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:38:39.866Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64446","url":"https://www.cve.org/CVERecord?id=CVE-2026-64446","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:52.112Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64446","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64446","licence":"Public domain","modified":"2026-11-06T17:18:54.550Z"}],"updatedAt":"2026-11-25T22:59:30.123Z","epss":{"score":0.00146,"percentile":0.04027,"date":"2026-12-01T12:00:22.000Z"}}