Vulnerability in Kernel: memcpy() overflow of qed_dcbx_params()

Kernel Updated 02 Oct 2025

Summary

08/07/2021
N/A
No i
Unrated
Not published

GSD-2021-1001107: net: qed: Fix memcpy() overflow of qed_dcbx_params(). Affects Kernel versions < be0cfcf7e6988dbff80edec0d0654878f4d6f955. 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 critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The vulnerability in question affects the qed_dcbx_params() function within the qed network driver. This function is responsible for copying data using the memcpy() function, but it suffers from an overflow issue. This vulnerability could potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

Vulnerability Detail

The vulnerability arises due to an overflow in the memcpy() function used within the qed_dcbx_params() function. This overflow can occur when copying data, leading to a potential buffer overflow. If successfully exploited, an attacker could execute arbitrary code within the kernel context or cause a denial-of-service by crashing the system. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to ensure the security and stability of the Linux 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 →

Workaround

As this vulnerability has a fix available, it is recommended to apply the update rather than relying on workarounds. However, if updating immediately is not feasible, one possible workaround is to disable the qed network driver or remove the module from the kernel configuration. This can be achieved by executing the following commands:

  1. Disable qed network driver: $ sudo modprobe -r qed

  2. Remove qed module from kernel configuration: $ sudo echo 'blacklist qed' >> /etc/modprobe.d/blacklist.conf

Please note that these workarounds may impact the functionality of the network driver and should only be considered as temporary measures until the update can be applied.

Conclusion

The vulnerability in the Kernel's qed network driver, specifically in the qed_dcbx_params() function, poses a potential security risk. It is crucial to update the Linux Kernel to version v4.14.238 or later to address this vulnerability. Applying the fix will ensure that the memcpy() overflow issue is resolved, preventing potential exploitation and maintaining the security and stability of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code within the kernel context or cause a denial-of-service condition by crashing the system.

You can use Vulert's 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 in real-time to identify any open-source vulnerabilities, including this one.

Yes, a fix for this vulnerability is available in the Linux Kernel version v4.14.238. It is recommended to update to this version or a later one to ensure the vulnerability is patched.

While it is recommended to apply the update to fix this vulnerability, you can temporarily disable the qed network driver or remove the module from the kernel configuration as a workaround. However, these workarounds may impact the functionality of the network driver and should only be used until the update can be applied.

You can find more information about this vulnerability, including the fix and its impact, in the vulnerability report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001107.json

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