Race Condition in veth Kernel Module

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000518: veth: fix races around rq->rx_notify_masked. Affects Kernel versions >= 948d4f214fde43743c57aae0c708bff44f6345f2, < fd45628d2fec2bf7085d856ef448959d6e7effe9. 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 veth kernel module is responsible for creating virtual Ethernet interfaces in Linux. These interfaces are used for communication between different network namespaces or containers. The veth module allows packets to be sent between these interfaces as if they were physically connected. It is a critical component for network virtualization and containerization in Linux.

Vulnerability Detail

The veth kernel module is affected by a race condition related to the rx_notify_masked field in the request queue (rq) structure. This race condition can lead to incorrect handling of received packets, potentially resulting in packet loss, data corruption, or even privilege escalation attacks. An attacker could exploit this vulnerability to manipulate network traffic or gain elevated privileges on a system.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.10 or later. The fix for this issue was implemented in commit fd45628d2fec2bf7085d856ef448959d6e7effe9. Users should update their kernel to the latest stable version available. It is also advisable to regularly update the kernel to ensure the latest security patches are applied.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the veth module if it is not required for their system. This can be done by blacklisting the module or removing it from the kernel configuration. However, this workaround may impact the functionality of network virtualization and containerization features that rely on the veth module.

Conclusion

The veth kernel module in Linux is affected by a race condition vulnerability that can lead to packet loss, data corruption, or privilege escalation attacks. Users are advised to update their Linux Kernel to version v5.16.10 or later to mitigate this vulnerability. Regularly updating the kernel is recommended to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The veth kernel module is responsible for creating virtual Ethernet interfaces in Linux. These interfaces are used for communication between different network namespaces or containers.

A race condition is a software defect that occurs when the behavior of a program depends on the relative timing of events. In this case, the race condition in the veth module can lead to incorrect handling of received packets.

The potential consequences of this vulnerability include packet loss, data corruption, and privilege escalation attacks. An attacker could exploit this vulnerability to manipulate network traffic or gain elevated privileges on a system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.10 or later. Users should regularly update their kernel to ensure the latest security patches are applied.

As a temporary workaround, users can disable the veth module if it is not required for their system. However, this may impact the functionality of network virtualization and containerization features that rely on the veth module.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.10 or later. The fix for this issue was implemented in commit fd45628d2fec2bf7085d856ef448959d6e7effe9. Users should update their kernel to the latest stable version available. It is also advisable to regularly update the kernel to ensure the latest security patches are applied.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.