Signed Integer Overflow in l2tp_ip6_sendmsg in Kernel

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004656: ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg. Affects Kernel versions < b8879ca1fd7348b4d5db7db86dcb97f60c73d751. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between processes, and handles device drivers. The vulnerability in question affects the IPv6 implementation in the Kernel, specifically the l2tp_ip6_sendmsg function. This function is responsible for sending L2TP (Layer 2 Tunneling Protocol) packets over IPv6. The vulnerability arises from a signed integer overflow, which can lead to unexpected behavior and potential security risks.

Vulnerability Detail

The signed integer overflow in l2tp_ip6_sendmsg can be exploited by an attacker to trigger a buffer overflow or cause a denial-of-service condition. By manipulating certain parameters, an attacker may be able to execute arbitrary code or crash the system. The vulnerability has the potential to impact the stability and security of systems running the affected Kernel versions. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

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 the patch manually by cherry-picking the specific commit (b8879ca1fd7348b4d5db7db86dcb97f60c73d751) from the Linux Kernel repository. Here is an example of how to apply the patch using the git command:

$ git cherry-pick b8879ca1fd7348b4d5db7db86dcb97f60c73d751

It is important to note that applying patches manually can be complex and error-prone. Therefore, it is recommended to update the Kernel to the latest stable release instead.

Conclusion

In conclusion, the signed integer overflow in l2tp_ip6_sendmsg in the Kernel poses potential security risks, including buffer overflows and denial-of-service conditions. To mitigate these risks, it is crucial to update the Kernel to version v5.10.124 or later. Alternatively, users can apply the patch manually, although this method is more complex and error-prone. 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 vary depending on the specific system and its configuration. However, it has the potential to lead to buffer overflows, denial-of-service conditions, and even arbitrary code execution. It is crucial to update the Kernel to mitigate these risks.

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.

No, not all Linux Kernel versions are affected. The vulnerability was introduced at an earlier version and was fixed in Linux Kernel version v5.10.124. It is recommended to update to this version or a later stable release.

Yes, a temporary workaround is available by manually applying the patch using the git cherry-pick command. However, it is recommended to update the Kernel to the latest stable release for a more comprehensive and reliable fix.

You can find more information about the fix for this vulnerability in the Linux Kernel repository. The specific commit (b8879ca1fd7348b4d5db7db86dcb97f60c73d751) contains the necessary changes to address the signed integer overflow in l2tp_ip6_sendmsg.

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