Vulnerability in wireguard: socket: free skb in send6 when ipv6 is disabled

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002028: wireguard: socket: free skb in send6 when ipv6 is disabled. Affects Kernel versions >= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 096f9d35cac0a0c95ffafc00db84786b665a4837. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

WireGuard is a free and open-source software application and communication protocol that implements virtual private network (VPN) techniques to create secure point-to-point connections. It is designed to be fast, secure, and easy to use. The vulnerability affects the wireguard package in the Linux Kernel.

Vulnerability Detail

The vulnerability in wireguard allows an attacker to free skb (socket buffer) in send6 when IPv6 is disabled. This can lead to a use-after-free vulnerability, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v5.6 of the Linux Kernel and is fixed in version v5.10.110.

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

If updating the Linux Kernel is not immediately feasible, a workaround for this vulnerability is to enable IPv6 on the system. By enabling IPv6, the vulnerability is mitigated as the skb will not be freed when sending IPv6 packets. To enable IPv6, the system administrator can follow the appropriate instructions for their operating system or distribution.

Conclusion

In conclusion, the vulnerability in wireguard: socket: free skb in send6 when ipv6 is disabled can be mitigated by updating the Linux Kernel to version v5.10.110 or later. Alternatively, enabling IPv6 on the system can serve as a workaround. It is important to stay updated with the latest security patches and follow best practices for securing network connections.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

WireGuard is a free and open-source software application and communication protocol that implements virtual private network (VPN) techniques to create secure point-to-point connections.

The vulnerability allows an attacker to free skb in send6 when IPv6 is disabled, potentially leading to a use-after-free vulnerability and allowing arbitrary code execution or causing a denial-of-service (DoS) condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.110 or later. Instructions for updating the Linux Kernel can be found in the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/).

Yes, a workaround for this vulnerability is to enable IPv6 on the system. By enabling IPv6, the vulnerability is mitigated as the skb will not be freed when sending IPv6 packets.

For more information about this vulnerability, you can refer to the vulnerability details in the Open Source Vulnerability format provided by the Cloud Security Alliance. You can also reach out to info@devnack.com for further support on vulnerability remediation.

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