{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-64440",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-64440"
  ],
  "published": "2026-07-25T08:51:45Z",
  "summary": "staging: rtl8723bs: fix OOB write in HT_caps_handler()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB write in HT_caps_handler()\n\nHT_caps_handler() iterates pIE->length bytes and writes into\nHT_caps.u.HT_cap[], which is a fixed 26-byte array (sizeof struct\nHT_caps_element). Because pIE->length is a raw u8 from an over-the-air\n802.11 AssocResponse frame and is never validated, a malicious AP can\nset it up to 255, causing up to 229 bytes of out-of-bounds writes into\nadjacent fields of struct mlme_ext_info.\n\nTruncate the iteration count to the size of HT_caps.u.HT_cap using\numin() so that data from a longer-than-expected IE is silently ignored\nrather than written out of bounds, preserving interoperability with APs\nthat pad the element. An early return on oversized IEs was considered\nbut rejected: it would bypass the pmlmeinfo->HT_caps_enable = 1\nassignment that precedes the loop, silently disabling HT mode for APs\nthat append extra bytes to the HT Capabilities IE.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-64440"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/37f642d47c3648a707df3ceb092eee1adffbfd28"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8c872b47c7fc32e95e0da1db7512388794adcd69"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bb3b942da4123b55d1cacf19d1a7d5ba15dbf83a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/918537a0fbed85aab61fa28ad75e6279070610c9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6f91621fc45025ad3c0be796b70e6e4cee22fc69"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f8001e1a516ba3b495728c65b61f799cbfad6bd0"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:24:08Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.1,
      "cvss_v3_severity": "High",
      "scenario": "AV:A - A nearby attacker can transmit a crafted 802.11 association response over the air; WiFi management-frame injection requires radio proximity and is not routable.\nAC:L - A malicious AP controls the IE length, contents, and handshake timing, making the bit-clearing overwrite deterministic without a race or uncontrollable condition.\nPR:N - The frame is processed before WPA or 802.1X credential verification, and OnAssocRsp does not authenticate its source BSSID; no target privilege or network credential is required.\nUI:N - Mobile, embedded, and headless systems commonly associate or roam automatically, allowing an evil-twin AP to reach the handler without human action.\nS:U - The corruption affects host-kernel driver state without crossing a VM, IOMMU, sandbox, or other security-authority boundary.\nC:N - The primitive only AND-clears following HT and network metadata and cannot reach pointer-bearing fields; no secret-bearing read or attacker-visible disclosure path was found.\nI:H - The oversized IE causes up to 229 attacker-controlled bit-mask writes beyond the 26-byte array, corrupting live kernel HT information and saved network metadata.\nA:H - The attacker can repeatedly corrupt BSSID, SSID, rate, IE-length, and HT state to prevent association; on a WiFi-dependent controller or IoT device this can sustain total loss of connectivity."
    }
  }
}
