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

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002668: staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan(). Affects Kernel versions >= 2b42bd58b32155a1be4dd78991845dec05aaef9e, < 476bfda0be0f9669add92bff604ca78226cf53d1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel package is a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The staging subsystem within the Kernel is responsible for hosting drivers that are still under development or not yet considered stable. One such driver is r8188eu, which supports Realtek RTL8188EU wireless devices. The rtw_wx_set_scan() function within this driver is vulnerable to a potential overflow issue when handling the ->Ssid parameter.

Vulnerability Detail

The vulnerability arises due to a lack of proper input validation in the rtw_wx_set_scan() function of the r8188eu driver. An attacker could exploit this by providing a maliciously crafted SSID (Service Set Identifier) value, leading to a buffer overflow. This could potentially result in arbitrary code execution, privilege escalation, or denial of service. The vulnerability was introduced in Linux Kernel version v5.15 and has been fixed in v5.18.3.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can consider disabling the r8188eu driver if it is not essential for their system's functionality. This can be achieved by blacklisting the driver module or removing it from the Kernel configuration. However, this workaround may result in the loss of wireless connectivity for devices that rely on the Realtek RTL8188EU chipset.

Conclusion

The vulnerability in the Kernel package's r8188eu driver can lead to a buffer overflow when handling the ->Ssid parameter. This could potentially result in arbitrary code execution, privilege escalation, or denial of service. It is crucial to update the Linux Kernel to version v5.18.3 or later to mitigate this vulnerability. Alternatively, users can consider disabling the r8188eu driver if it is not essential for their system's functionality. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability could potentially allow an attacker to execute arbitrary code, escalate privileges, or cause denial of service on a system running the affected Kernel version with the r8188eu driver.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known public exploit for this vulnerability. However, it is advisable to apply the recommended fix or workaround to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is connected to a network and the attacker can send malicious packets containing the crafted SSID value to the r8188eu driver.

Yes, there are alternative wireless drivers available for various chipsets. It is recommended to consult the official Linux Kernel documentation or community forums to identify suitable alternative drivers for your specific wireless chipset.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback