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-1004506: ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg. Affects Kernel versions < 27a37755ceb401111ded76810359d3adc4b268a1. 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 essential services and functions to enable the system's operation. It acts as a bridge between hardware and software, managing resources, facilitating communication, and ensuring security. The l2tp_ip6_sendmsg function in the Kernel handles the sending of IPv6 packets for the Layer 2 Tunneling Protocol (L2TP) over IPsec. L2TP is a protocol used for establishing virtual private networks (VPNs) and can be vulnerable to various security issues.

Vulnerability Detail

The vulnerability identified as GSD-2022-1004506 in the Kernel's l2tp_ip6_sendmsg function involves a signed integer overflow. This vulnerability could potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. The overflow occurs when processing a large value for the tunnel ID, leading to a wraparound of the signed integer and resulting in unexpected behavior or system crashes. This vulnerability has been fixed in Linux Kernel version v5.15.49 by commit 27a37755ceb401111ded76810359d3adc4b268a1.

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 disable the affected functionality by preventing the loading of the l2tp_ip6 module. This can be achieved by modifying the system's module configuration or blacklisting the module. However, this workaround may impact the availability of L2TP over IPsec functionality.

Conclusion

The signed integer overflow vulnerability in the l2tp_ip6_sendmsg function of the Kernel can potentially lead to arbitrary code execution or denial-of-service attacks. It is crucial to update the Linux Kernel to version v5.15.49 or later to mitigate this vulnerability. Alternatively, users can apply the provided workaround, although it may impact L2TP over IPsec functionality. 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 could allow an attacker to execute arbitrary code or cause a denial-of-service condition on a system running the affected Kernel version.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over the network.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

No, a CVSS score has not been assigned to this vulnerability at the time of this report.

For more details about this vulnerability, including the specific code changes that address it, please refer to the source link provided in the vulnerability details section.

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