Vulnerability in Kernel: sit: do not call ipip6_dev_free() from sit_init_net()

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002753: sit: do not call ipip6_dev_free() from sit_init_net(). Affects Kernel versions >= cf124db566e6b036b8bcbe8decbed740bdfac8c6, < 44a6c846bc3a7efe7d394bab8b2ae3b7f580e190. 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 fundamental component of the Linux operating system that provides essential services and functions to enable the system's operation. It acts as a bridge between the hardware and software layers, managing resources, facilitating communication, and executing system-level tasks. The vulnerability identified in the Kernel relates to the sit module, which is responsible for handling IPv6-in-IPv4 tunneling. This vulnerability arises from an incorrect call to the ipip6_dev_free() function within the sit_init_net() function. The sit_init_net() function is called during the initialization of the sit module and is responsible for setting up the necessary data structures and configurations. However, the incorrect call to ipip6_dev_free() can lead to potential security issues.

Vulnerability Detail

The vulnerability in the sit module of the Kernel arises from the improper invocation of the ipip6_dev_free() function within the sit_init_net() function. This vulnerability can have various ramifications, including potential security breaches. The incorrect call to ipip6_dev_free() can result in memory corruption or use-after-free vulnerabilities, which can be exploited by malicious actors to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been addressed in the Linux Kernel version v5.15.11 through the commit 44a6c846bc3a7efe7d394bab8b2ae3b7f580e190. However, it was introduced in version v4.12 by the commit cf124db566e6b036b8bcbe8decbed740bdfac8c6.

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 temporary workaround, users can disable the sit module to mitigate the risk associated with this vulnerability. This can be achieved by executing the following command as the root user:

modprobe -r sit

However, it is important to note that disabling the sit module may impact any functionality or services relying on IPv6-in-IPv4 tunneling.

Conclusion

The vulnerability in the sit module of the Kernel, arising from the incorrect call to ipip6_dev_free() within sit_init_net(), can pose potential security risks. It is crucial to update the Linux Kernel to version v5.15.11 or later to address this vulnerability. Alternatively, users can disable the sit module as a temporary workaround. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The sit module in the Kernel is responsible for handling IPv6-in-IPv4 tunneling. It allows the encapsulation of IPv6 packets within IPv4 packets, enabling communication between IPv6 networks over IPv4 infrastructure.

The impact of this vulnerability can vary, but it can potentially lead to memory corruption or use-after-free vulnerabilities. These can be exploited by attackers to execute arbitrary code or cause a denial-of-service (DoS) condition.

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, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

Yes, a fix for this vulnerability is available in the Linux Kernel version v5.15.11 or later. It is recommended to update your Kernel to the latest version to mitigate the risk associated with this vulnerability.

Yes, as a temporary workaround, you can disable the sit module by executing the command 'modprobe -r sit' as the root user. However, keep in mind that this may impact any functionality or services relying on IPv6-in-IPv4 tunneling.

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