← Back to CVE Explorer

CVE-2026-90016

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
7.1 (v3.1)
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:17:14.360000
Last modified
2026-10-30 13:20:38.823000
View original CVE JSON
{
  "id": "CVE-2026-90016",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:17:14.360",
  "lastModified": "2026-10-30T13:20:38.823",
  "vulnStatus": "Received",
  "cveTags": [],
  "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": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/staging/rtl8723bs/core/rtw_mlme.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
              "lessThan": "0c1f8bada613edbd810d010996d36159092576d5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
              "lessThan": "55034fa38bd8b302ceb32c15e8a98298f56f629b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
              "lessThan": "a8d76480d1abbbf617c2d6d9f60bf95ab45cff04",
              "versionType": "git",
              "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",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/staging/rtl8723bs/core/rtw_mlme.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.12",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.12",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.5",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary",
        "cvssData": {
          "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",
          "attackVector": "ADJACENT_NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 4.2
      }
    ]
  },
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0c1f8bada613edbd810d010996d36159092576d5",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/28a289beaf226b30b1e6e7d7b1a2946fe2d6e852",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4420cc71841b50e31a7868ef7acb011c0e08d294",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/55034fa38bd8b302ceb32c15e8a98298f56f629b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/716850842d2f103f915fe7c857ff1a0a036491b4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a8d76480d1abbbf617c2d6d9f60bf95ab45cff04",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e63b72c5d7336981dfc05e5cb92becff29dfea00",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/fd19b8895f8a91087e8a62f1e27b128025dabb95",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}