staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie() rtw_restruct_wmm_ie() scans in_ie for a WMM IE with: while (i < in_len) { ... if (i + 5 < in_len && in_ie[i] == 0xDD && ...) { ... break; } i += (in_ie[i + 1] + 2); /* to the next IE element */ } When the "i + 5 < in_len" match check fails simply because i is within 5 bytes of the end of the buffer (i.e. no WMM IE was found near the tail of in_ie), execution falls through to "i += (in_ie[i + 1] + 2)", which reads in_ie[i + 1]. If i == in_len - 1 at that point, this is a 1-byte out-of-bounds read of an attacker-influenced IE buffer built from association/scan data. Commit a75281626fc8f ("staging: rtl8723bs: fix potential out-of-bounds read in rtw_restruct_wmm_ie") added the "i + 5 < in_len" guard to the match condition itself, but did not add an equivalent guard before the fallthrough advance, so the same class of OOB read remained reachable through the non-matching path. Add an explicit bounds check before advancing to the next IE.
CVE-2026-90016
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90016
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
"lessThan": "716850842d2f103f915fe7c857ff1a0a036491b4",
"versionType": "git"
},
{
"status": "affected",
"version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
"lessThan": "e63b72c5d7336981dfc05e5cb92becff29dfea00",
"versionType": "git"
},
{
"status": "affected",
"version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
"lessThan": "4420cc71841b50e31a7868ef7acb011c0e08d294",
"versionType": "git"
},
{
"status": "affected",
"version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
"lessThan": "fd19b8895f8a91087e8a62f1e27b128025dabb95",
"versionType": "git"
},
{
"status": "affected",
"version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
"lessThan": "28a289beaf226b30b1e6e7d7b1a2946fe2d6e852",
"versionType": "git"
}
],
"programFiles": [
"drivers/staging/rtl8723bs/core/rtw_mlme.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/staging/rtl8723bs/core/rtw_mlme.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90016
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #48580 · Revision 1
- Added to Heist Feed
- Publisher date