Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49405

published high CVSS 3.1 · 7.8

staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan()

Published
26 Feb 2025, 02:12:30 UTC
Updated
05 Aug 2026, 08:55:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2b42bd58b32155a1be4dd78991845dec05aaef9e to < ac2eab7de458f5e1210ce1237afab40a307075c8 · 2b42bd58b32155a1be4dd78991845dec05aaef9e to < c4bd6b72df4f01aa866ceb298466d6d07a6bd525 · 2b42bd58b32155a1be4dd78991845dec05aaef9e to < 476bfda0be0f9669add92bff604ca78226cf53d1 · 2b42bd58b32155a1be4dd78991845dec05aaef9e to < bc10916e890948d8927a5c8c40fb5dc44be5e1b8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.46 through 5.15.* (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan() This code has a check to prevent read overflow but it needs another check to prevent writing beyond the end of the ->Ssid[] array.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The overflow is reached only via local wireless-extensions ioctls (SIOCSIWSCAN or SIOCSIWPRIV→rtw_wx_set_priv) that deliver an attacker-crafted CSCAN buffer into rtw_wx_set_scan(); no received WiFi frame or remote peer path invokes this parser. AC:L - The attacker fully controls the CSCAN section type, sec_len, and payload in a single ioctl, and the missing Ssid[32] bound check makes the stack overflow deterministic with no race or attacker-uncontrollable condition. PR:L - wext_permission_check() requires capable(CAP_NET_ADMIN), a capability routinely held by non-root WiFi management daemons (wpa_supplicant/NetworkManager) on the phones and embedded devices this USB RTL8188EU driver targets, and this CNA consistently scores CAP_NET_ADMIN-gated WEXT bugs as PR:L. UI:N - The attacker issues the ioctl directly against an already-registered r8188eu interface; no victim action such as mounting media or opening a crafted file is required. S:U - The stack overflow corrupts kernel stack/memory within the same host kernel security authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - Attacker-controlled out-of-bounds stack writes (and unbounded ssid_index growth past RTW_SSID_SCAN_AMOUNT) are memory-corruption primitives that can be leveraged for arbitrary kernel memory disclosure under standard stack-smash exploitation. I:H - This is a classic stack buffer overflow of Ssid[32] with attacker-chosen length and contents, enabling overwrite of adjacent stack state and return addresses for arbitrary write / control-flow hijack. A:H - Corrupting the on-stack ssid[RTW_SSID_SCAN_AMOUNT] array and frames beyond it reliably produces kernel oops/panic even without full code-execution exploitation.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2b42bd58b32155a1be4dd78991845dec05aaef9e to < ac2eab7de458f5e1210ce1237afab40a307075c8 (affected · git)2b42bd58b32155a1be4dd78991845dec05aaef9e to < c4bd6b72df4f01aa866ceb298466d6d07a6bd525 (affected · git)2b42bd58b32155a1be4dd78991845dec05aaef9e to < 476bfda0be0f9669add92bff604ca78226cf53d1 (affected · git)2b42bd58b32155a1be4dd78991845dec05aaef9e to < bc10916e890948d8927a5c8c40fb5dc44be5e1b8 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.46 through 5.15.* (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan()

Provenance

Schema
5.2
Searchable
yes
Content hash
d1e17cfcfb90cb12373765cc5a7d726bafb7cfd282c411499a2ace6fca3ddf10
Ingested
23 Sep 2026, 08:04:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected