Vulnerability in Linux Kernel: veth - Ensure eth header is in skb's linear part

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001664: veth: Ensure eth header is in skb's linear part. Affects Kernel versions >= e314dbdc1c0dc6a548ecf0afce28ecfd538ff568, < 93940fc4cb81840dc0fa202de48cccb949a0261d. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, device drivers, and facilitating communication between hardware and software components. The veth (Virtual Ethernet) module in the Linux Kernel is responsible for creating virtual network interfaces that can be used for interconnecting containers or virtual machines. This vulnerability specifically affects the veth module's handling of Ethernet headers within the skb (socket buffer) data structure.

Vulnerability Detail

The vulnerability arises from a failure to ensure that the Ethernet header is located within the linear part of the skb. This can lead to various security issues, including potential memory corruption or information disclosure. An attacker may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or bypass security mechanisms. The vulnerability was introduced in version 2.6.24 of the Linux Kernel and has been fixed in version 5.15.35.

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 disable the veth module or remove any veth interfaces from the system. This can be achieved by unloading the veth module (rmmod veth) or removing the veth interfaces using the appropriate commands (ip link delete <interface_name>). However, this workaround may impact the functionality of certain applications or services that rely on veth interfaces.

Conclusion

The vulnerability in the Linux Kernel's veth module can have serious security implications, including the potential for arbitrary code execution and privilege escalation. It is crucial to update the Linux Kernel to version 5.15.35 or later to mitigate this vulnerability. Alternatively, disabling the veth module or removing veth interfaces can serve as a temporary workaround. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow an attacker to execute arbitrary code, escalate privileges, or bypass security mechanisms. It may also lead to memory corruption or information disclosure.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any known vulnerabilities are detected.

Yes, a patch for this vulnerability is available in Linux Kernel version 5.15.35. It is recommended to update to this version or a later one to fix the vulnerability.

While updating the Linux Kernel is the recommended solution, you can mitigate the risk by disabling the veth module or removing veth interfaces from the system. However, this may impact the functionality of applications or services that rely on veth interfaces.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is important to promptly apply the patch or workaround to minimize the risk.

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