Denial of Service Vulnerability in Linux Kernel - CVE-2018-5703

linux Updated 02 Oct 2025

Summary

16/01/2018
N/A
Yes i
Critical
9.8

CVE-2018-5703: The tcp_v6_syn_recv_sock function in net/ipv6/tcp_ipv6.c in the Linux kernel through 4.14.11 allows attackers to cause a denial of service (slab out-of-bounds write) or possibly have unspecified other impact via vectors... Affects linux versions < 4.15.11-1. Fixed in 4.15.11-1. 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 Linux kernel is a core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's networking stack, particularly the TCP/IP implementation, is crucial for handling network communications. This vulnerability affects the IPv6 TCP stack, specifically the tcp_v6_syn_recv_sock function, which can lead to severe security implications.

Vulnerability Detail

CVE-2018-5703 is a vulnerability in the Linux kernel that allows attackers to exploit the tcp_v6_syn_recv_sock function, leading to a denial of service through a slab out-of-bounds write. This can potentially allow attackers to crash the system or execute arbitrary code, resulting in significant disruption and security risks. The vulnerability arises from improper handling of certain TLS vectors, making it critical for users to address it promptly.

How To Fix

Minimum fixed version

4.15.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable IPv6 on their systems to mitigate the risk of exploitation until they can apply the necessary updates. This can be done by adding the following lines to the /etc/sysctl.conf file:

net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1

After making these changes, run the command:

sudo sysctl -p

to apply the new settings.

Conclusion

CVE-2018-5703 is a critical vulnerability in the Linux kernel that poses significant risks to system stability and security. Users are strongly advised to upgrade their kernel to the latest version to mitigate these risks. Additionally, temporary workarounds can help reduce exposure until a full fix is applied.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2018-5703 is a vulnerability in the Linux kernel that can lead to denial of service through an out-of-bounds write in the TCP/IP stack.

This vulnerability can cause your system to crash or become unresponsive, potentially allowing attackers to execute arbitrary code.

The vulnerability affects Linux kernel versions up to 4.14.11. Users should upgrade to version 4.15.11-1 or later.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

If an immediate upgrade is not possible, consider disabling IPv6 as a temporary workaround until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

4.15.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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