staging: rtl8723bs: fix missing shared-key auth challenge length check
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix missing shared-key auth challenge length check The WEP shared-key authentication handler uses the challenge-text element's attacker-controlled length without checking it against the fixed 128-byte chg_txt buffer. In OnAuthClient() the length from rtw_get_ie() - up to 255 - is used to perform memcpy() into the 128-byte pmlmeinfo->chg_txt, so a malicious AP sending a malformed WLAN_EID_CHALLENGE element can overflow/underfill chg_txt by up to 127 bytes. It is reachable over the air, before association, during shared-key authentication. In the case of an overflow, the driver can write out of bounds. In the case of an underfill, the driver can echo stale buffer memory. The challenge text is defined to be exactly 128 octets, which is already provided as the WLAN_AUTH_CHALLENGE_LEN define; require the element to be exactly that length before use.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.216, 6.1.183, 6.12.104, 6.18.45, 6.6.152, 7.1.9
- CVEs
- CVE-2026-74649
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:55 UTC · Revision 1
Source evidence
staging: rtl8723bs: fix missing shared-key auth challenge length check
core-osv · Original sourcePublished 22 Aug 2026, 15:32 UTC
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix missing shared-key auth challenge length check The WEP shared-key authentication handler uses the challenge-text element's attacker-controlled length without checking it against the fixed 128-byte chg_txt buffer. In OnAuthClient() the length from rtw_get_ie() - up to 255 - is used to perform memcpy() into the 128-byte pmlmeinfo->chg_txt, so a malicious AP sending a malformed WLAN_EID_CHALLENGE element can overflow/underfill chg_txt by up to 127 bytes. It is reachable over the air, before association, during shared-key authentication. In the case of an overflow, the driver can write out of bounds. In the case of an underfill, the driver can echo stale buffer memory. The challenge text is defined to be exactly 128 octets, which is already provided as the WLAN_AUTH_CHALLENGE_LEN define; require the element to be exactly that length before use.
osv:CVE-2026-74649
Kernel
Fixed versions: 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9
Complete source record
{
"id": "ffa0221a529ba8802662379f9be748674fc5dbbad5d22346dba297835505d3e3",
"url": "https://osv.dev/vulnerability/CVE-2026-74649",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "staging: rtl8723bs: fix missing shared-key auth challenge length check",
"summary": "In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix missing shared-key auth challenge length check The WEP shared-key authentication handler uses the challenge-text element's attacker-controlled length without checking it against the fixed 128-byte chg_txt buffer. In OnAuthClient() the length from rtw_get_ie() - up to 255 - is used to perform memcpy() into the 128-byte pmlmeinfo->chg_txt, so a malicious AP sending a malformed WLAN_EID_CHALLENGE element can overflow/underfill chg_txt by up to 127 bytes. It is reachable over the air, before association, during shared-key authentication. In the case of an overflow, the driver can write out of bounds. In the case of an underfill, the driver can echo stale buffer memory. The challenge text is defined to be exactly 128 octets, which is already provided as the WLAN_AUTH_CHALLENGE_LEN define; require the element to be exactly that length before use.",
"evidence": "osv:CVE-2026-74649",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.216",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.183",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.152",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.104",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.45",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-74649",
"aliases": [
"CVE-2026-74649"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "554c0a3abf216c991c5ebddcdb2c08689ecd290b"
},
{
"fixed": "39ae1033071001af9bb4573ebdbb43bbbe88f749"
},
{
"fixed": "4d018e7d7d908bdfcb5ecfa922b1d5cb9ddb3722"
},
{
"fixed": "4ba402fd47009d20e51dbfc934abb562098ea35b"
},
{
"fixed": "87c2f073d2aaea041d531b8e579c47570b54b3b7"
},
{
"fixed": "a28a4b0592e4a37ea471bc0d308513a93133ce7e"
},
{
"fixed": "6235b5156b48ed5d1ce3410d8f0b2fd67d30d944"
},
{
"fixed": "2c56ef658ac8c6bca36bc5574715e8f717207c6c"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74649.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.12.0"
},
{
"fixed": "5.15.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.183"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.152"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.104"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.45"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74649.json"
}
}
],
"modified": "2026-10-28T02:30:41.579475610Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2c56ef658ac8c6bca36bc5574715e8f717207c6c",
"https://git.kernel.org/stable/c/39ae1033071001af9bb4573ebdbb43bbbe88f749",
"https://git.kernel.org/stable/c/4ba402fd47009d20e51dbfc934abb562098ea35b",
"https://git.kernel.org/stable/c/4d018e7d7d908bdfcb5ecfa922b1d5cb9ddb3722",
"https://git.kernel.org/stable/c/6235b5156b48ed5d1ce3410d8f0b2fd67d30d944",
"https://git.kernel.org/stable/c/87c2f073d2aaea041d531b8e579c47570b54b3b7",
"https://git.kernel.org/stable/c/a28a4b0592e4a37ea471bc0d308513a93133ce7e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74649.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74649",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74649.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74649",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509248,
"published_at": "2026-08-22T15:32:25.601+00:00"
}