Vulnerability in qede Package: Confirm skb is Allocated Before Using

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001357: qede: confirm skb is allocated before using. Affects Kernel versions >= 8a8633978b842c88fbcfe00d4e5dde96048f630e, < b2d6b3db9d1cf80908964036dbe1c52a86b1afb1. 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 qede package is a component of the Linux Kernel ecosystem. It provides support for the QLogic Ethernet driver. This driver is responsible for managing network communication for QLogic Ethernet adapters. The qede package is widely used in Linux-based systems that utilize QLogic Ethernet adapters. However, a vulnerability has been discovered in the qede package that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the qede package involves the usage of an skb (socket buffer) without confirming if it has been allocated. This can result in the use of an invalid or uninitialized skb, leading to potential memory corruption or other security vulnerabilities. Attackers may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.16.20.

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

If updating the Linux Kernel is not immediately feasible, a possible workaround is to implement proper validation and allocation checks for skbs before using them in the affected code. This can help mitigate the risk of using invalid or uninitialized skbs. Here is an example of how the validation check can be implemented in the code:

if (skb) {
  // Use the skb
} else {
  // Handle the case when skb is not allocated
}

Conclusion

The vulnerability in the qede package, which involves the usage of an skb without confirming if it has been allocated, can lead to memory corruption and other security issues. It is crucial to update the Linux Kernel to version v5.16.20 or later to mitigate this vulnerability. If immediate updating is not possible, implementing proper validation and allocation checks for skbs can provide a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to memory corruption, arbitrary code execution, privilege escalation, or denial-of-service attacks.

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 to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

Yes, the vulnerability has been fixed in version v5.16.20 of the Linux Kernel. It is recommended to update to this version or a later one to address the issue.

If updating the Linux Kernel is not immediately feasible, you can implement proper validation and allocation checks for skbs before using them in the affected code. This can help reduce the risk of using invalid or uninitialized skbs.

You can find more information about this vulnerability, including the specific commits that introduced and fixed it, in the GSD-2022-1001357 entry of the GSD Database maintained by the Cloud Security Alliance. The source link is available in the vulnerability details.

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