net: amd-xgbe: Fix skb data length underflow in Kernel

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000274: net: amd-xgbe: Fix skb data length underflow. Affects Kernel versions >= 622c36f143fc9566ba49d7cec994c2da1182d9e2, < db6fd92316a254be2097556f01bccecf560e53ce. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The vulnerability in the Kernel's amd-xgbe module involves an underflow issue in the skb (socket buffer) data length. This vulnerability can potentially be exploited by an attacker to manipulate network traffic and cause a denial-of-service (DoS) condition or execute arbitrary code.

Vulnerability Detail

The vulnerability in the amd-xgbe module of the Kernel arises from a data length underflow in skb. When processing network packets, the module fails to properly validate the length of the skb data, leading to a potential underflow. This underflow can result in memory corruption or other unintended consequences. An attacker may be able to craft malicious network packets to trigger this vulnerability and gain control over the affected system. The impact of this vulnerability can range from a DoS condition to remote code execution, depending on the attacker's capabilities and the system's configuration.

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 Kernel is not immediately feasible, a temporary workaround can be implemented by disabling or blocking network traffic that utilizes the amd-xgbe module. This can be achieved by configuring firewall rules or network filters to restrict access to the vulnerable module. However, this workaround may impact network functionality and should only be considered as a temporary measure until the Kernel can be updated.

Conclusion

The vulnerability in the Kernel's amd-xgbe module can have serious security implications, potentially leading to a DoS condition or remote code execution. It is crucial to update the Linux Kernel to version v5.15.20 or later to mitigate this vulnerability. If immediate updating is not possible, implementing temporary measures such as blocking network traffic can help reduce the risk. 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 range from a denial-of-service (DoS) condition to remote code execution, depending on the attacker's capabilities and the system's configuration.

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, and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, a fix for this vulnerability is available in the Linux Kernel version v5.15.20 or later. Updating the Kernel to this version will address the issue.

Yes, a temporary workaround is to disable or block network traffic that utilizes the amd-xgbe module. This can be achieved through firewall rules or network filters.

You can find more information about this vulnerability in the GSD-2022-1000274 entry of the GSD database maintained by the Cloud Security Alliance. The link to the specific entry is available in the vulnerability details section.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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