Files
vuln-cve/data/2023/53xxx/CVE-2023-53554.json
T

264 lines
14 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-53554",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-10-04T15:14:15.922Z",
"datePublished": "2025-10-04T15:16:59.749Z",
"dateUpdated": "2026-08-05T09:14:46.814Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:14:46.814Z"
},
"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->key_len\" is a u16 that comes from the user. If it's over\nIW_ENCODING_TOKEN_MAX (64) that could lead to memory corruption."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"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` — `key_len`, the key payload, `alg`, `ext_flags` and the key index — 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's 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's 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->key_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."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/staging/ks7010/ks_wlan_net.c"
],
"versions": [
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "9496fb96ddeb740dc6b966f4a7d8dfb8b93921c6",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "663fff29fd613e2b0d30c4138157312ba93c4939",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "5373a1aa91b2298f9305794b8270cf9896be96b6",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "caac4b6c15b66feae4d83f602e1e46f124540202",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "baf420e30364ef9efe3e29a5c0e01e612aebf3fe",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "7ae9f55a495077f838bab466411ee6f38574df9b",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "b1b04b56745bc79286c80aa876fabfab1e08ebf1",
"status": "affected",
"versionType": "git"
},
{
"version": "b121d84882b97b8668be0b95e9ba50cfd01aa0f1",
"lessThan": "5f1c7031e044cb2fba82836d55cc235e2ad619dc",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/staging/ks7010/ks_wlan_net.c"
],
"versions": [
{
"version": "4.12",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.12",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.322",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.291",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.253",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.190",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.124",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.43",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.4.8",
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.5",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "4.14.322"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "4.19.291"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "5.4.253"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "5.10.190"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "5.15.124"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "6.1.43"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "6.4.8"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.12",
"versionEndExcluding": "6.5"
}
]
}
]
}
],
"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"
}
}
}
}