{"id":"CVE-2026-64445","summary":"staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()\n\nOnAuth() has two bugs in the shared-key authentication path.\n\nWhen the Privacy bit is set, rtw_wep_decrypt() is called without\nverifying that the frame is long enough to contain a valid WEP IV and\nICV.  Inside rtw_wep_decrypt(), length is computed as:\n\n    length = len - WLAN_HDR_A3_LEN - iv_len\n\nand then passed as (length - 4) to crc32_le().  If len is less than\nWLAN_HDR_A3_LEN + iv_len + icv_len (32 bytes), length - 4 is negative\nand, after the implicit cast to size_t, causes crc32_le() to read far\nbeyond the frame buffer.  Add a minimum length check before accessing\nthe IV field and calling the decryption path.\n\nWhen processing a seq=3 response, rtw_get_ie() stores the Challenge\nText IE length in ie_len, but the subsequent memcmp() always reads 128\nbytes regardless of ie_len.  IEEE 802.11 mandates a challenge text of\nexactly 128 bytes; reject any IE whose length field differs, matching\nthe check already applied to OnAuthClient().","modified":"2026-07-28T04:03:07.232924506Z","published":"2026-07-25T08:51:16.670Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64445.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1f6c9d255bdda41216b6e34c96aa2b1abee0bb84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e44a7665f3abd320a80d9c64ee4a93317041b8b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64ec4192d9c10e96922245d4a6747304cc76b19d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/665e1ecb68b4e8419604e70a33f02d1c8b0222c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87cccc2a767f17dcab71e3b9fe5ae29b5516c5ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1fc19d61f661d47204f095b593de507884849f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9000c93078e5c0a5a651b077c0ec92a4bc7d580"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d90b9f39f375c9826ef145605dfe97765d0ecb91"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64445.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64445"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b"},{"fixed":"665e1ecb68b4e8419604e70a33f02d1c8b0222c6"},{"fixed":"87cccc2a767f17dcab71e3b9fe5ae29b5516c5ce"},{"fixed":"c9000c93078e5c0a5a651b077c0ec92a4bc7d580"},{"fixed":"1f6c9d255bdda41216b6e34c96aa2b1abee0bb84"},{"fixed":"3e44a7665f3abd320a80d9c64ee4a93317041b8b"},{"fixed":"64ec4192d9c10e96922245d4a6747304cc76b19d"},{"fixed":"d90b9f39f375c9826ef145605dfe97765d0ecb91"},{"fixed":"a1fc19d61f661d47204f095b593de507884849f7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64445.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.12.0"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64445.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}