Out of Boundary Access Vulnerability in Linux Kernel - CVE-2017-18379

linux Updated 02 Oct 2025

Summary

27/07/2019
N/A
Yes i
Critical
9.8

CVE-2017-18379: In the Linux kernel before 4.14, an out of boundary access happened in drivers/nvme/target/fc.c. Affects linux versions < 4.14.2-1. Fixed in 4.14.2-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 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 Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used across various platforms, from servers to embedded systems. The vulnerability CVE-2017-18379 affects the Linux kernel versions prior to 4.14, specifically in the NVMe target driver, which handles the Non-Volatile Memory Express protocol for storage devices. This vulnerability can lead to severe security risks if exploited.

Vulnerability Detail

CVE-2017-18379 is an out of boundary access vulnerability found in the NVMe target driver of the Linux kernel. This issue arises from improper handling of memory access, which can allow an attacker to read or write outside the allocated memory bounds. The ramifications of this vulnerability include potential data corruption, unauthorized access to sensitive information, and system crashes. The vulnerability is particularly critical as it can be exploited remotely, leading to a CVSS score of 9.8, indicating a high severity level.

How To Fix

Minimum fixed version

4.14.2-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 may consider disabling the NVMe target driver if it is not essential for their operations. This can be done by blacklisting the driver in the system configuration. To blacklist the driver, add the following line to the '/etc/modprobe.d/blacklist.conf' file:

blacklist nvmet

Then, update the initramfs:

sudo update-initramfs -u

Conclusion

CVE-2017-18379 represents a significant security risk within the Linux kernel, particularly affecting systems using the NVMe target driver. Users are strongly advised to upgrade their kernel versions to mitigate this vulnerability. Additionally, temporary workarounds are available for those unable to upgrade immediately.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2017-18379 is a vulnerability in the Linux kernel that allows for out of boundary memory access in the NVMe target driver.

Exploitation of this vulnerability can lead to data corruption, unauthorized access to sensitive information, and system instability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The recommended action is to upgrade your Linux kernel to version 4.14.2-1 or later.

Yes, you can temporarily disable the NVMe target driver by blacklisting it in your system configuration.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

4.14.2-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