CVE-2023-53554 (GCVE-0-2023-53554)
Vulnerability from cvelistv5
Published
2025-10-04 15:16
Modified
2026-08-05 09:14
Summary
In the Linux kernel, the following vulnerability has been resolved: staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext() The "exc->key_len" is a u16 that comes from the user. If it's over IW_ENCODING_TOKEN_MAX (64) that could lead to memory corruption.
Impacted products
Vendor Product Version
Linux Linux Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Version: b121d84882b97b8668be0b95e9ba50cfd01aa0f1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/ks7010/ks_wlan_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9496fb96ddeb740dc6b966f4a7d8dfb8b93921c6",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "663fff29fd613e2b0d30c4138157312ba93c4939",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "5373a1aa91b2298f9305794b8270cf9896be96b6",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "caac4b6c15b66feae4d83f602e1e46f124540202",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "baf420e30364ef9efe3e29a5c0e01e612aebf3fe",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "7ae9f55a495077f838bab466411ee6f38574df9b",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "b1b04b56745bc79286c80aa876fabfab1e08ebf1",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            },
            {
              "lessThan": "5f1c7031e044cb2fba82836d55cc235e2ad619dc",
              "status": "affected",
              "version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/ks7010/ks_wlan_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.322",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.190",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.124",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.43",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.322",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.291",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.253",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.190",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.124",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.43",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.8",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()\n\nThe \"exc-\u003ekey_len\" is a u16 that comes from the user.  If it\u0027s over\nIW_ENCODING_TOKEN_MAX (64) that could lead to memory corruption."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The only entry point is the local `ioctl(SIOCSIWENCODEEXT)` wireless-extensions path on the ks7010 net_device; no remote or adjacent-network peer data reaches `ks_wlan_set_encode_ext()`. Requires a local process holding an AF_INET/AF_PACKET socket on the host.\nAC:L - Every input to the vulnerable `memcpy` \u2014 `key_len`, the key payload, `alg`, `ext_flags` and the key index \u2014 is supplied directly by the attacker in a single ioctl, with no race to win and no memory layout the attacker cannot groom beforehand. The `SLP_SLEEP` early-return guard is itself settable by the attacker through the driver\u0027s own private ioctl.\nPR:L - `wext_permission_check()` requires CAP_NET_ADMIN, but that is a delegable capability routinely held by non-root network/WiFi management daemons (the wpa_supplicant-style model on the embedded and handheld devices this SDIO driver targets), not full administrative control of the system. Choosing the higher-severity option where the boundary between a confined capability holder and true root is deployment-dependent.\nUI:N - The attacker issues the ioctl directly against an existing ks7010 interface; no victim action, no file to open, nothing to mount. The interface merely has to be present and registered.\nS:U - The overflow corrupts kernel heap adjacent to the net_device private data and stays entirely within the kernel\u0027s own security authority. There is no hypervisor, IOMMU, or sandbox boundary crossed.\nC:H - The oversized copy reads far past the 104-byte `extra` slab allocation, pulling adjacent kernel heap contents into `key-\u003ekey_val`, from where they are shipped to the device via the SME_SET_KEY request. The resulting heap corruption is also leverageable into a general kernel-memory read primitive.\nI:H - An unbounded `__u16` length turns this into an out-of-bounds write of up to ~65471 bytes past a 64-byte buffer inside `netdev_priv()`, with the leading bytes fully attacker-chosen. That is a classic controllable heap overflow suitable for overwriting adjacent objects and hijacking control flow.\nA:H - Overwriting tens of kilobytes of slab memory past `struct wpa_key` reliably destroys neighbouring allocations and slab metadata, producing an oops or panic. Any unsuccessful exploitation attempt still crashes the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:14:46.814Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9496fb96ddeb740dc6b966f4a7d8dfb8b93921c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/663fff29fd613e2b0d30c4138157312ba93c4939"
        },
        {
          "url": "https://git.kernel.org/stable/c/5373a1aa91b2298f9305794b8270cf9896be96b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/caac4b6c15b66feae4d83f602e1e46f124540202"
        },
        {
          "url": "https://git.kernel.org/stable/c/baf420e30364ef9efe3e29a5c0e01e612aebf3fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/7ae9f55a495077f838bab466411ee6f38574df9b"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1b04b56745bc79286c80aa876fabfab1e08ebf1"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f1c7031e044cb2fba82836d55cc235e2ad619dc"
        }
      ],
      "title": "staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53554",
    "datePublished": "2025-10-04T15:16:59.749Z",
    "dateReserved": "2025-10-04T15:14:15.922Z",
    "dateUpdated": "2026-08-05T09:14:46.814Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…