{"id":"CVE-2026-90016","state":"PUBLISHED","title":"staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()\n\nrtw_restruct_wmm_ie() scans in_ie for a WMM IE with:\n\n\twhile (i < in_len) {\n\t\t...\n\t\tif (i + 5 < in_len && in_ie[i] == 0xDD && ...) {\n\t\t\t...\n\t\t\tbreak;\n\t\t}\n\t\ti += (in_ie[i + 1] + 2); /* to the next IE element */\n\t}\n\nWhen the \"i + 5 < in_len\" match check fails simply because i is\nwithin 5 bytes of the end of the buffer (i.e. no WMM IE was found\nnear the tail of in_ie), execution falls through to\n\"i += (in_ie[i + 1] + 2)\", which reads in_ie[i + 1]. If i == in_len\n- 1 at that point, this is a 1-byte out-of-bounds read of an\nattacker-influenced IE buffer built from association/scan data.\n\nCommit a75281626fc8f (\"staging: rtl8723bs: fix potential\nout-of-bounds read in rtw_restruct_wmm_ie\") added the \"i + 5 <\nin_len\" guard to the match condition itself, but did not add an\nequivalent guard before the fallthrough advance, so the same class\nof OOB read remained reachable through the non-matching path.\n\nAdd an explicit bounds check before advancing to the next IE.","publishedAt":"2026-09-16T10:33:22.148Z","updatedAt":"2026-10-30T12:33:49.384Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"0c1f8bada613edbd810d010996d36159092576d5","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"55034fa38bd8b302ceb32c15e8a98298f56f629b","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"a8d76480d1abbbf617c2d6d9f60bf95ab45cff04","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"716850842d2f103f915fe7c857ff1a0a036491b4","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"e63b72c5d7336981dfc05e5cb92becff29dfea00","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"4420cc71841b50e31a7868ef7acb011c0e08d294","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"fd19b8895f8a91087e8a62f1e27b128025dabb95","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"28a289beaf226b30b1e6e7d7b1a2946fe2d6e852","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme.c"]}],"references":["https://git.kernel.org/stable/c/0c1f8bada613edbd810d010996d36159092576d5","https://git.kernel.org/stable/c/55034fa38bd8b302ceb32c15e8a98298f56f629b","https://git.kernel.org/stable/c/a8d76480d1abbbf617c2d6d9f60bf95ab45cff04","https://git.kernel.org/stable/c/716850842d2f103f915fe7c857ff1a0a036491b4","https://git.kernel.org/stable/c/e63b72c5d7336981dfc05e5cb92becff29dfea00","https://git.kernel.org/stable/c/4420cc71841b50e31a7868ef7acb011c0e08d294","https://git.kernel.org/stable/c/fd19b8895f8a91087e8a62f1e27b128025dabb95","https://git.kernel.org/stable/c/28a289beaf226b30b1e6e7d7b1a2946fe2d6e852"],"weaknesses":[],"ingestedAt":"2026-10-30T12:52:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/90xxx/CVE-2026-90016.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90016","state":"PUBLISHED","datePublished":"2026-09-16T10:33:22.148Z","dateUpdated":"2026-10-30T12:33:49.384Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.781Z"},"containers":{"cna":{"title":"staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie()\n\nrtw_restruct_wmm_ie() scans in_ie for a WMM IE with:\n\n\twhile (i < in_len) {\n\t\t...\n\t\tif (i + 5 < in_len && in_ie[i] == 0xDD && ...) {\n\t\t\t...\n\t\t\tbreak;\n\t\t}\n\t\ti += (in_ie[i + 1] + 2); /* to the next IE element */\n\t}\n\nWhen the \"i + 5 < in_len\" match check fails simply because i is\nwithin 5 bytes of the end of the buffer (i.e. no WMM IE was found\nnear the tail of in_ie), execution falls through to\n\"i += (in_ie[i + 1] + 2)\", which reads in_ie[i + 1]. If i == in_len\n- 1 at that point, this is a 1-byte out-of-bounds read of an\nattacker-influenced IE buffer built from association/scan data.\n\nCommit a75281626fc8f (\"staging: rtl8723bs: fix potential\nout-of-bounds read in rtw_restruct_wmm_ie\") added the \"i + 5 <\nin_len\" guard to the match condition itself, but did not add an\nequivalent guard before the fallthrough advance, so the same class\nof OOB read remained reachable through the non-matching path.\n\nAdd an explicit bounds check before advancing to the next IE."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"0c1f8bada613edbd810d010996d36159092576d5","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"55034fa38bd8b302ceb32c15e8a98298f56f629b","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"a8d76480d1abbbf617c2d6d9f60bf95ab45cff04","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"716850842d2f103f915fe7c857ff1a0a036491b4","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"e63b72c5d7336981dfc05e5cb92becff29dfea00","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"4420cc71841b50e31a7868ef7acb011c0e08d294","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"fd19b8895f8a91087e8a62f1e27b128025dabb95","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"28a289beaf226b30b1e6e7d7b1a2946fe2d6e852","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0c1f8bada613edbd810d010996d36159092576d5"},{"url":"https://git.kernel.org/stable/c/55034fa38bd8b302ceb32c15e8a98298f56f629b"},{"url":"https://git.kernel.org/stable/c/a8d76480d1abbbf617c2d6d9f60bf95ab45cff04"},{"url":"https://git.kernel.org/stable/c/716850842d2f103f915fe7c857ff1a0a036491b4"},{"url":"https://git.kernel.org/stable/c/e63b72c5d7336981dfc05e5cb92becff29dfea00"},{"url":"https://git.kernel.org/stable/c/4420cc71841b50e31a7868ef7acb011c0e08d294"},{"url":"https://git.kernel.org/stable/c/fd19b8895f8a91087e8a62f1e27b128025dabb95"},{"url":"https://git.kernel.org/stable/c/28a289beaf226b30b1e6e7d7b1a2946fe2d6e852"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - rtw_restruct_wmm_ie() walks WMM IEs from scanned BSS candidates filled by collect_bss_info() from over-the-air beacon and probe-response frames (OnBeacon/OnProbeRsp). The attacker must be in WiFi radio range; kernel guidance maps WiFi frame injection to Adjacent.\nAC:L - The attacker fully controls beacon/probe IE layout and can place a truncated tail IE so the walker lands at in_len-1, making the unguarded in_ie[i+1] read deterministic. wmm_enable defaults to 1, and no race or attacker-uncontrollable memory layout is required.\nPR:N - Scan and join/roam consume attacker beacon IEs before any authentication with the rogue BSS. No local account, capability, or user-namespace privilege is required.\nUI:N - RTW_ROAM_ON_EXPIRED is enabled by default, so association expiry or an attacker-driven reconnect automatically calls rtw_select_and_join_from_scanned_queue() without a new victim click. An evil-twin BSS matching the desired SSID is selected by RSSI during normal WiFi operation.\nS:U - The out-of-bounds read and any resulting kernel impact remain inside the rtl8723bs driver on the host. This is not a VM escape, IOMMU bypass, or other cross-authority boundary crossing.\nC:L - The fallthrough path reads exactly one byte past the declared IE length (in_ie[i+1] when i==in_len-1). Kernel guidance scores a strictly bounded few-byte out-of-bounds read as Low confidentiality rather than an arbitrary-read primitive.\nI:N - The bug only reads in_ie[i+1] to compute the next IE offset and then exits the loop. It does not write out of bounds or provide a data-modification or control-flow hijack primitive.\nA:H - An out-of-bounds kernel read can oops or panic on hardened, KASAN, or redzone kernels, and an adjacent attacker can retrigger the join/roam path with further crafted management frames to deny availability."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:33:49.384Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"7.2.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}