---
id: CVE-2026-64536
title: 'staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop

  The loop in is_ap_in_tkip() iterates over IEs without verifying that
  enough bytes remain before dereferenc…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    d2055332297e24c63fffda943ef7a5eefc0a6019
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    6f26cc55affd9d7f88ae2f5d12db4ecf9072c209
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    204b22c8df115370037248859bf0fa62db73a396
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    4380b3860d887a13555ff024a58dfc05b490dfd6
  - >-
    Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b <
    3bf39f711ff27c64be8680a8938bcc5001982e81
  - Linux 4.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T15:41:58.313988Z'
published: '2026-07-27'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:42:40.732Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-64536'
references:
  - url: 'https://git.kernel.org/stable/c/ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7'
  - url: 'https://git.kernel.org/stable/c/d2055332297e24c63fffda943ef7a5eefc0a6019'
  - url: 'https://git.kernel.org/stable/c/6f26cc55affd9d7f88ae2f5d12db4ecf9072c209'
  - url: 'https://git.kernel.org/stable/c/204b22c8df115370037248859bf0fa62db73a396'
  - url: 'https://git.kernel.org/stable/c/a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395'
  - url: 'https://git.kernel.org/stable/c/4380b3860d887a13555ff024a58dfc05b490dfd6'
  - url: 'https://git.kernel.org/stable/c/3bf39f711ff27c64be8680a8938bcc5001982e81'
tags:
  - cve.org
epss: 0.00249
epssPercentile: 0.15125
ingestedAt: '2026-10-16T17:24:46.827Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop

The loop in is_ap_in_tkip() iterates over IEs without verifying that
enough bytes remain before dereferencing the IE header or its payload:

- pIE->element_id and pIE->length are read without checking that
  i + sizeof(*pIE) <= ie_length, so a truncated IE at the end of the
  buffer causes an OOB read.

- For WLAN_EID_VENDOR_SPECIFIC the code compares pIE->data + 12,
  which requires pIE->length >= 16.  For WLAN_EID_RSN it compares
  pIE->data + 8, requiring pIE->length >= 12.  Neither requirement
  is checked.

Add the missing IE header and payload bounds checks and guard each
data access with an explicit pIE->length minimum, matching the
pattern established in update_beacon_info().

## Affected

- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7`
- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < d2055332297e24c63fffda943ef7a5eefc0a6019`
- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209`
- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 204b22c8df115370037248859bf0fa62db73a396`
- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395`
- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 4380b3860d887a13555ff024a58dfc05b490dfd6`
- `Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 3bf39f711ff27c64be8680a8938bcc5001982e81`
- `Linux 4.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
