staging: rtl8723bs: fix OOB read in rtw_restruct_wmm_ie() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.40 % · percentile 34 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
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.
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-80624
- GCVE · GCVE-0-2026-90016
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 0c1f8bada613edbd810d010996d36159092576d5 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 55034fa38bd8b302ceb32c15e8a98298f56f629b ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < a8d76480d1abbbf617c2d6d9f60bf95ab45cff04 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 716850842d2f103f915fe7c857ff1a0a036491b4 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < e63b72c5d7336981dfc05e5cb92becff29dfea00 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 4420cc71841b50e31a7868ef7acb011c0e08d294 |
| Linux · Linux | affected 4.12 ; unaffected 0 < 4.12 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |