Uninitialized Value in r871xu_drv_init() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003666: staging: rtl8712: fix uninit-value in r871xu_drv_init(). Affects Kernel versions < 52a0d88c328098b4e9fb8f2f3877fec0eff4104b. 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 is a crucial component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different software components, and enables the execution of user programs. The rtl8712 module in the staging directory of the Kernel is responsible for supporting certain Realtek wireless chipsets. However, a vulnerability has been identified in the r871xu_drv_init() function within this module.

Vulnerability Detail

The vulnerability in r871xu_drv_init() arises from the use of uninitialized values. This can lead to unpredictable behavior and potential security risks. An attacker may be able to exploit this vulnerability to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been fully proven. It is important to note that this vulnerability has been addressed in the Linux Kernel version v5.4.198 by commit 52a0d88c328098b4e9fb8f2f3877fec0eff4104b.

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 temporary workaround, users can disable the rtl8712 module by blacklisting it. This can be achieved by adding the following line to the /etc/modprobe.d/blacklist.conf file:

blacklist rtl8712

After adding the line, the system should be rebooted for the changes to take effect. However, it is important to note that this workaround may result in the loss of wireless functionality for devices relying on the affected Realtek chipsets.

Conclusion

In conclusion, the vulnerability in r871xu_drv_init() within the rtl8712 module of the Kernel can lead to unpredictable behavior and potential security risks. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. Alternatively, users can apply the temporary workaround of blacklisting the rtl8712 module, but this may result in the loss of wireless functionality. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the specific system configuration and the presence of additional security measures. In some cases, an attacker may be able to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition.

There is currently no evidence to suggest that this vulnerability has been exploited in real-world attacks. However, it is always recommended to apply security patches and updates as soon as they become available.

No, this vulnerability is fixed in the Linux Kernel version v5.4.198 and later. It is recommended to update to the latest available version to ensure the security of your system.

While applying the workaround of blacklisting the rtl8712 module can mitigate the vulnerability temporarily, it is still advisable to update the Kernel to the patched version. This ensures a comprehensive fix and avoids potential issues that may arise from the workaround.

Detailed information about this vulnerability, including the commit that fixes it, can be found in the Linux Kernel source code repository. The specific commit can be viewed at: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=52a0d88c328098b4e9fb8f2f3877fec0eff4104b

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