GHSA-8GVV-M75J-PQ7X
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-22 12:31In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8723bs: fix protected RX frame validation in decrypt path
The RX software decrypt path mishandles crafted protected frames from a malicious AP in two ways:
1) decryptor() never checks that a protected frame is long enough to hold the 802.11 header plus the per-cipher trailer. All of rtw_wep_decrypt(), rtw_tkip_decrypt() and rtw_aes_decrypt() compute
length = hdr.len - hdrlen - iv_len;
and act on the result, and recvframe_chkmic() similarly computes
datalen = hdr.len - hdrlen - iv_len - icv_len - 8;
for TKIP (the 8-byte Michael MIC is not accounted for in icv_len). A frame shorter than hdrlen + iv_len + icv_len (+ 8 for TKIP) underflows these unsigned subtractions, turning into a ~4 GiB iteration count in aes_decipher()/arc4_crypt()/rtw_seccalctkipmic() or a ~4 GiB crc32_le() length, causing out-of-bounds reads/writes of up to ~4 GiB starting from the rx skb. Reject such frames in decryptor() before touching the IV; this covers all three ciphers and the TKIP MIC check, and also keeps the unconditional iv[3] access within the frame.
2) validate_80211w_mgmt() keeps using the frame - two memcpys through the stale rx_data pointer and a pkt_len update - before checking whether decryptor() returned NULL. On decrypt failure (e.g. a unicast protected deauth/disassoc/action frame with a bad MIC, which this path always software-decrypts) the skb has already been freed, so this is a use-after-free read/write, and the caller's error path frees the frame a second time, drifting free_recvframe_cnt. Bail out immediately when decryptor() fails, freeing the temporary mgmt_DATA buffer first.
Discovered by Atuin - Automated Vulnerability Discovery Engine.
{
"affected": [],
"aliases": [
"CVE-2026-99454"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:17:59Z",
"severity": "HIGH"
},
"details": "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\u0027s 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.",
"id": "GHSA-8gvv-m75j-pq7x",
"modified": "2026-11-22T12:31:15Z",
"published": "2026-11-19T15:31:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99454"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/33e8f5740319996788395d85a4c100f61593cb75"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/495cb31c791bdf3f9efef255a9587b05b0526c9d"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/60e3352593f224306dfab578bf586b301642265f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b0e79d0ed03ee2e2b9bc0b637fcb87567ff46112"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.