net: validate lwtstate->data before returning from skb_tunnel_info() - Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001407: net: validate lwtstate->data before returning from skb_tunnel_info(). Affects Kernel versions >= 61adedf3e3f1d3f032c5a6a299978d91eff6d555, < 83bdcfbd968bcc91a0632b7b625e4a9b0cba5e0d. 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 Your last release was probably never penetration tested 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 critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and implements various protocols and drivers. The vulnerability in question affects the Kernel's networking subsystem, specifically the skb_tunnel_info() function.

Vulnerability Detail

The vulnerability arises from a lack of validation of the lwtstate->data parameter in the skb_tunnel_info() function. This oversight can potentially lead to security breaches and unauthorized access. Attackers may exploit this vulnerability to execute arbitrary code, escalate privileges, or perform other malicious activities. The vulnerability was introduced in version v4.3 of the Linux Kernel and has been fixed in version v4.14.241.

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

As a workaround, users can apply a patch or modify the affected code manually to include the necessary validation of lwtstate->data. Here is an example of the code modification:

if (lwtstate->data == NULL) {
    return -EINVAL;
}

Conclusion

The vulnerability in the Kernel's networking subsystem, specifically in the skb_tunnel_info() function, can potentially lead to security breaches and unauthorized access. It is crucial to update the Linux Kernel to version v4.14.241 or later to mitigate this vulnerability. Applying the recommended fix or workaround is essential to ensure the system's security. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow attackers to execute arbitrary code, escalate privileges, or perform other malicious activities.

You can use the Vulert Playground at Vulert 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 any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the recommended fix or workaround to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. Attackers can exploit the vulnerability to gain unauthorized access or execute arbitrary code.

Yes, this vulnerability has been fixed in version v4.14.241 of the Linux Kernel. It is recommended to update to this version or a later one to ensure the vulnerability is patched.

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