{"id":"CVE-2026-99454","aliases":["CVE-2026-99454"],"related":[],"kind":"vulnerability","state":"published","title":"staging: rtl8723bs: fix protected RX frame validation in decrypt path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix protected RX frame validation in decrypt path\n\nThe RX software decrypt path mishandles crafted protected frames from a\nmalicious AP in two ways:\n\n1) decryptor() never checks that a protected frame is long enough to\nhold the 802.11 header plus the per-cipher trailer.  All of\nrtw_wep_decrypt(), rtw_tkip_decrypt() and rtw_aes_decrypt() compute\n\n\tlength = hdr.len - hdrlen - iv_len;\n\nand act on the result, and recvframe_chkmic() similarly computes\n\n\tdatalen = hdr.len - hdrlen - iv_len - icv_len - 8;\n\nfor TKIP (the 8-byte Michael MIC is not accounted for in icv_len).\nA frame shorter than hdrlen + iv_len + icv_len (+ 8 for TKIP) underflows\nthese unsigned subtractions, turning into a ~4 GiB iteration count in\naes_decipher()/arc4_crypt()/rtw_seccalctkipmic() or a ~4 GiB crc32_le()\nlength, causing out-of-bounds reads/writes of up to ~4 GiB starting from\nthe rx skb.  Reject such frames in decryptor() before touching the IV;\nthis covers all three ciphers and the TKIP MIC check, and also keeps the\nunconditional iv[3] access within the frame.\n\n2) validate_80211w_mgmt() keeps using the frame - two memcpys through\nthe stale rx_data pointer and a pkt_len update - before checking\nwhether decryptor() returned NULL.  On decrypt failure (e.g. a unicast\nprotected deauth/disassoc/action frame with a bad MIC, which this path\nalways software-decrypts) the skb has already been freed, so this is a\nuse-after-free read/write, and the caller's error path frees the frame\na second time, drifting free_recvframe_cnt.  Bail out immediately when\ndecryptor() fails, freeing the temporary mgmt_DATA buffer first.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix protected RX frame validation in decrypt path\n\nThe RX software decrypt path mishandles crafted protected frames from a\nmalicious AP in two ways:\n\n1) decryptor() never checks that a protected frame is long enough to\nhold the 802.11 header plus the per-cipher trailer.  All of\nrtw_wep_decrypt(), rtw_tkip_decrypt() and rtw_aes_decrypt() compute\n\n\tlength = hdr.len - hdrlen - iv_len;\n\nand act on the result, and recvframe_chkmic() similarly computes\n\n\tdatalen = hdr.len - hdrlen - iv_len - icv_len - 8;\n\nfor TKIP (the 8-byte Michael MIC is not accounted for in icv_len).\nA frame shorter than hdrlen + iv_len + icv_len (+ 8 for TKIP) underflows\nthese unsigned subtractions, turning into a ~4 GiB iteration count in\naes_decipher()/arc4_crypt()/rtw_seccalctkipmic() or a ~4 GiB crc32_le()\nlength, causing out-of-bounds reads/writes of up to ~4 GiB starting from\nthe rx skb.  Reject such frames in decryptor() before touching the IV;\nthis covers all three ciphers and the TKIP MIC check, and also keeps the\nunconditional iv[3] access within the frame.\n\n2) validate_80211w_mgmt() keeps using the frame - two memcpys through\nthe stale rx_data pointer and a pkt_len update - before checking\nwhether decryptor() returned NULL.  On decrypt failure (e.g. a unicast\nprotected deauth/disassoc/action frame with a bad MIC, which this path\nalways software-decrypts) the skb has already been freed, so this is a\nuse-after-free read/write, and the caller's error path frees the frame\na second time, drifting free_recvframe_cnt.  Bail out immediately when\ndecryptor() fails, freeing the temporary mgmt_DATA buffer first.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.","source":"cvelist"}],"published":"2026-11-19T14:41:54.397Z","modified":"2026-11-23T08:17:49.267Z","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":[],"affected":[{"ranges":[{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"d65f8309c25bf52dd2f18ae12670a8f7063a89f2","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"4992aed169e5c0db152f4a1a2e7f86d67aef8eee","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"f8eb2d12c741af831b7169eb3a65a327438605f1","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"8d291314426d5626407ba6e281992f14bee96785","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"60e3352593f224306dfab578bf586b301642265f","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"33e8f5740319996788395d85a4c100f61593cb75","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"b0e79d0ed03ee2e2b9bc0b637fcb87567ff46112","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"495cb31c791bdf3f9efef255a9587b05b0526c9d","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.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/d65f8309c25bf52dd2f18ae12670a8f7063a89f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4992aed169e5c0db152f4a1a2e7f86d67aef8eee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8eb2d12c741af831b7169eb3a65a327438605f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d291314426d5626407ba6e281992f14bee96785","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60e3352593f224306dfab578bf586b301642265f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33e8f5740319996788395d85a4c100f61593cb75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0e79d0ed03ee2e2b9bc0b637fcb87567ff46112","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/495cb31c791bdf3f9efef255a9587b05b0526c9d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99454","url":"https://www.cve.org/CVERecord?id=CVE-2026-99454","licence":"CVE Terms of Use","modified":"2026-11-23T08:03:02.651Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99454","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99454","licence":"Public domain","modified":"2026-11-23T08:17:49.267Z"}],"updatedAt":"2026-11-25T22:59:52.076Z","epss":{"score":0.00327,"percentile":0.27829,"date":"2026-12-01T12:00:22.000Z"}}