memcpy() overflow vulnerability in Kernel: qed

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1001120: net: qed: Fix memcpy() overflow of qed_dcbx_params(). Affects Kernel versions < 70866199220ebae6161728944a76ad071ff908d1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. The qed module within the Kernel is specifically designed for QLogic Ethernet devices. It provides support for various features, including Data Center Bridging Exchange (DCBX) parameters. These parameters are used to negotiate and configure network settings in data center environments. However, a vulnerability has been discovered in the qed_dcbx_params() function, which can lead to a memcpy() overflow.

Vulnerability Detail

The vulnerability in the qed_dcbx_params() function arises from an unchecked memcpy() operation. An attacker could exploit this vulnerability by providing malicious input, causing the memcpy() operation to overflow its destination buffer. This could result in arbitrary code execution or a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability has been addressed in the Linux Kernel version v5.4.129 by commit 70866199220ebae6161728944a76ad071ff908d1.

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

No specific workaround has been mentioned for this vulnerability.

Conclusion

The memcpy() overflow vulnerability in the Kernel's qed module poses a potential risk of arbitrary code execution or denial-of-service. It is crucial to update the Linux Kernel to version v5.4.129 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially lead to arbitrary code execution or a denial-of-service condition. However, the actual impact and attack plausibility have not been proven yet.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for open-source vulnerabilities in real-time.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.4.129 by commit 70866199220ebae6161728944a76ad071ff908d1. Users should update their Kernel to this version or later to mitigate the vulnerability.

While no specific temporary measures have been mentioned for this vulnerability, it is generally recommended to follow security best practices such as keeping software and systems up to date, implementing proper access controls, and monitoring for any suspicious activity.

You can refer to the vulnerability details in the Cloud Security Alliance's GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/UVI-2021-1001120.json) for more information about this vulnerability.

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