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-1003311: staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan(). Affects Kernel versions >= 2b42bd58b32155a1be4dd78991845dec05aaef9e, < ac2eab7de458f5e1210ce1237afab40a307075c8. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a critical component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices and software components. The staging subsystem within the Kernel is used for developing and testing new drivers before they are fully integrated. The r8188eu driver is part of the staging subsystem and is responsible for supporting Realtek RTL8188EU wireless devices. This driver includes the rtw_wx_set_scan() function, which is used to set the wireless network scan parameters. However, a vulnerability exists in this function that can lead to a buffer overflow when handling the SSID (Service Set Identifier) parameter.

Vulnerability Detail

The vulnerability in the rtw_wx_set_scan() function of the r8188eu driver allows an attacker to trigger a buffer overflow by providing a specially crafted SSID. This can potentially lead to arbitrary code execution or a denial of service condition. The vulnerability was introduced in version v5.15 of the Linux Kernel and was fixed in version v5.15.46. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later. This update includes the necessary patch to prevent the buffer overflow in the rtw_wx_set_scan() function. Users can obtain the updated Kernel from the official Linux Kernel repository or through their Linux distribution's package manager.

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 disable the affected wireless device or remove the r8188eu driver from the staging subsystem. This can be done by blacklisting the driver module or modifying the Kernel configuration to exclude the staging subsystem. However, it is strongly advised to apply the official fix by updating the Kernel to ensure the long-term security and stability of the system.

Conclusion

The vulnerability in the rtw_wx_set_scan() function of the r8188eu driver in the Kernel package can lead to a buffer overflow, potentially resulting in arbitrary code execution or a denial of service condition. It is recommended to update the Linux Kernel to version v5.15.46 or later to fix this vulnerability. Users can also use tools like Vulert Playground to check if their system is affected. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from arbitrary code execution to a denial of service condition. However, the actual impact and attack plausibility have not been proven yet.

You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your application's manifest file, such as package-lock.json, without requiring access to the code or installation.

Yes, a temporary fix is available by disabling the affected wireless device or removing the r8188eu driver from the staging subsystem. However, it is recommended to apply the official fix by updating the Kernel to ensure long-term security.

You can obtain the updated Linux Kernel from the official Linux Kernel repository or through your Linux distribution's package manager. Make sure to update to version v5.15.46 or later.

As of now, there are no known exploits for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later. This update includes the necessary patch to prevent the buffer overflow in the rtw_wx_set_scan() function. Users can obtain the updated Kernel from the official Linux Kernel repository or through their Linux distribution's package manager.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.