Skip to content
Heist/ feed
Back to feed
HighFix available

staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing The Extended Supported Rates (ESR) IE handling in OnBeacon accessed *(p + 1 + ielen) and *(p + 2 + ielen) without verifying that these offsets lie within the received frame buffer. A malformed beacon with an ESR IE positioned at the end of the buffer could cause an out-of-bounds read, potentially triggering a kernel panic. Add a boundary check to ensure that the ESR IE body and the subsequent bytes are within the limits of the frame before attempting to access them. This prevents OOB reads caused by malformed beacon frames.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.198, 6.1.160, 6.12.62, 6.17.12, 6.18.1, 6.6.120
CVEs
CVE-2025-68254
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 15:27 UTC · Revision 1

Source evidence

staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing

core-osv · Original source

Published 16 Dec 2025, 14:44 UTC

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing The Extended Supported Rates (ESR) IE handling in OnBeacon accessed *(p + 1 + ielen) and *(p + 2 + ielen) without verifying that these offsets lie within the received frame buffer. A malformed beacon with an ESR IE positioned at the end of the buffer could cause an out-of-bounds read, potentially triggering a kernel panic. Add a boundary check to ensure that the ESR IE body and the subsequent bytes are within the limits of the frame before attempting to access them. This prevents OOB reads caused by malformed beacon frames.

osv:CVE-2025-68254

Kernel

Fixed versions: 5.15.198, 6.1.160, 6.6.120, 6.12.62, 6.17.12, 6.18.1

Complete source record
{
  "id": "dfa550ec918ffd6c6237e3ca933ea27b0c48642231a2994c659cc0d58b1040ce",
  "url": "https://osv.dev/vulnerability/CVE-2025-68254",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing The Extended Supported Rates (ESR) IE handling in OnBeacon accessed *(p + 1 + ielen) and *(p + 2 + ielen) without verifying that these offsets lie within the received frame buffer. A malformed beacon with an ESR IE positioned at the end of the buffer could cause an out-of-bounds read, potentially triggering a kernel panic. Add a boundary check to ensure that the ESR IE body and the subsequent bytes are within the limits of the frame before attempting to access them. This prevents OOB reads caused by malformed beacon frames.",
    "evidence": "osv:CVE-2025-68254",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.198",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.62",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.12",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-68254",
      "aliases": [
        "CVE-2025-68254"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "554c0a3abf216c991c5ebddcdb2c08689ecd290b"
                },
                {
                  "fixed": "c03cb111628924827351e19baa5b073e9b0d723d"
                },
                {
                  "fixed": "bb5940193d813449540d8d3a82abc045be41f48a"
                },
                {
                  "fixed": "c173ce97d3f0f0c0fefa39139d6d04ba60b5db22"
                },
                {
                  "fixed": "d1ab7f9cee22e7b8a528da9ac953e4193b96cda5"
                },
                {
                  "fixed": "38292407c2bb5b2b3131aaace4ecc7a829b40b76"
                },
                {
                  "fixed": "bf323db1d883c209880bd92f3b12503e3531c3fc"
                },
                {
                  "fixed": "502ddcc405b69fa92e0add6c1714d654504f6fd7"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68254.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.12.0"
                },
                {
                  "fixed": "5.15.198"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.62"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.12"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.18.0"
                },
                {
                  "fixed": "6.18.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68254.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.530103401Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/38292407c2bb5b2b3131aaace4ecc7a829b40b76",
        "https://git.kernel.org/stable/c/502ddcc405b69fa92e0add6c1714d654504f6fd7",
        "https://git.kernel.org/stable/c/bb5940193d813449540d8d3a82abc045be41f48a",
        "https://git.kernel.org/stable/c/bf323db1d883c209880bd92f3b12503e3531c3fc",
        "https://git.kernel.org/stable/c/c03cb111628924827351e19baa5b073e9b0d723d",
        "https://git.kernel.org/stable/c/c173ce97d3f0f0c0fefa39139d6d04ba60b5db22",
        "https://git.kernel.org/stable/c/d1ab7f9cee22e7b8a528da9ac953e4193b96cda5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68254.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68254",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68254.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68254",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 486492,
  "published_at": "2025-12-16T14:44:57.204+00:00"
}