Skip to content
Heist/ feed
High

staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr() Three IE/attribute parsing functions have missing bounds checks. rtw_get_sec_ie() and rtw_get_wapi_ie() iterate over a raw IE buffer without verifying that the header bytes (tag + length) are within the remaining buffer before reading them. Additionally, rtw_get_sec_ie() compares the 4-byte WPA OUI at cnt+2 without checking that at least 6 bytes remain, and rtw_get_wapi_ie() compares a 4-byte WAPI OUI at cnt+6 without checking that at least 10 bytes remain. rtw_get_wps_attr() reads wps_ie[0] and wps_ie+2 unconditionally at entry, before verifying that wps_ielen is large enough to contain the 6-byte WPS IE header (element_id + length + 4-byte OUI). Inside the attribute loop, get_unaligned_be16() is called on attr_ptr and attr_ptr+2 without checking that 4 bytes remain in the buffer. Add a cnt+2 bounds check before each loop body in rtw_get_sec_ie() and rtw_get_wapi_ie(), guard each multi-byte comparison with a minimum IE length requirement, add a wps_ielen < 6 early return in rtw_get_wps_attr(), and add a 4-byte bounds check in its inner loop.

Announced Source revision 1
Original source ↗

CVE-2026-64441

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-64441

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": "efa27d487abcdec79669a60a6d94d5d6eceb7c1d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
        "lessThan": "2ea1ce30ead61589214240e8d33d96310fd613e5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
        "lessThan": "b27ecba3196f6c14e3809595ebd69c0c2392512a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
        "lessThan": "6ab1161e539fb7a1c8b35ff5a6ced4702e855b9c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
        "lessThan": "4b51ee8a40fe47864197d73cc02b191de7a6b072",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
        "lessThan": "729c4e72563bda0f1725db1db9ea08df06f41d9b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
        "lessThan": "1463ca3ec6601cbb097d8d87dbf5dcf1cb86a344",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/staging/rtl8723bs/core/rtw_ieee80211.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": "5.15.212",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/staging/rtl8723bs/core/rtw_ieee80211.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-64441

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#41046 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement