Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2018-18397: The userfaultfd implementation in the Linux kernel before 4.19.7 mishandles access control for certain UFFDIO_ ioctl calls, as demonstrated…

MediumCVSS 5.5 · v3.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.51% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: linux (Debian:12) 4.19.9-1; kernel-source (openSUSE:Leap 15.0) 4.12.14-lp150.12.45.1; bpftool (Red Hat:enterprise_linux:7::client) 0:3.10.0-957.5.1.el7.

Low priority for now. Upgrade to linux (Debian:12) 4.19.9-1; kernel-source (openSUSE:Leap 15.0) 4.12.14-lp150.12.45.1; bpftool (Red Hat:enterprise_linux:7::client) 0:3.10.0-957.5.1.el7 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

The userfaultfd implementation in the Linux kernel before 4.19.7 mishandles access control for certain UFFDIO_ ioctl calls, as demonstrated by allowing local users to write data into holes in a tmpfs file (if the user has read-only access to that file, and that file contains holes), related to fs/userfaultfd.c and mm/userfaultfd.c.

Published
Dec 12, 2018
Updated
Jun 16, 2026
EPSS
0.5% · 44th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2018-18397

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel
redhatopenshift container platform
redhatvirtualization host
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux server tus
redhatenterprise linux workstation
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux18.10
  • linux linux kernelbefore 4.19.7
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 4.19.9-14.19.9-1
openSUSE:Leap 15.0kernel-sourcebefore 4.12.14-lp150.12.45.14.12.14-lp150.12.45.1
Red Hat:enterprise_linux:7::clientbpftoolbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernelbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-abi-whitelistsbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debugbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debug-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debug-develbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debuginfo-common-x86_64before 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-develbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-docbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-headersbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-toolsbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-libsbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-libs-develbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientperfbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientperf-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientpython-perfbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientpython-perf-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::serverkernelbefore 0:4.14.0-115.7.1.el7a0:4.14.0-115.7.1.el7a
Red Hat:enterprise_linux:7::serverkernel-abi-whitelistsbefore 0:4.14.0-115.7.1.el7a0:4.14.0-115.7.1.el7a
Red Hat:enterprise_linux:7::serverkernel-altbefore 0:4.14.0-115.7.1.el7a0:4.14.0-115.7.1.el7a

+94

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2018-19824Dec 3, 2018 · In the Linux kernel through 4.19.6, a local user could exploit a use-after-free in the ALSA driver by supplying a malicious USB Sound…
    31Monitor
  • ← EarlierCVE-2018-19854Dec 4, 2018 · An issue was discovered in the Linux kernel before 4.19.3.
    18Monitor
  • Later →CVE-2018-20169Dec 17, 2018 · An issue was discovered in the Linux kernel before 4.19.9.
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:linux4.19.9-1 · Debian:12Package registry (OSV)
opensuse:kernel-source4.12.14-lp150.12.45.1 · openSUSE:Leap 15.0Package registry (OSV)
red hat:bpftool0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-abi-whitelists0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug-debuginfo0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug-devel0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debuginfo0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debuginfo-common-x86_640:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-devel0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-doc0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-headers0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-tools0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:kernel-azure4.12.14-5.19.1 · SUSE:Linux Enterprise Module for Public Cloud 15Package registry (OSV)
suse:kernel-default4.12.14-95.6.1 · SUSE:Linux Enterprise Desktop 12 SP4Package registry (OSV)
suse:kernel-docs4.12.14-95.6.1 · SUSE:Linux Enterprise Software Development Kit 12 SP4Package registry (OSV)
suse:kernel-livepatch-SLE15_Update_81-1.3.1 · SUSE:Linux Enterprise Live Patching 15Package registry (OSV)
suse:kernel-obs-build4.12.14-95.6.1 · SUSE:Linux Enterprise Software Development Kit 12 SP4Package registry (OSV)
suse:kernel-source4.12.14-95.6.1 · SUSE:Linux Enterprise Desktop 12 SP4Package registry (OSV)
suse:kernel-source-azure4.12.14-5.19.1 · SUSE:Linux Enterprise Module for Public Cloud 15Package registry (OSV)
suse:kernel-syms4.12.14-95.6.1 · SUSE:Linux Enterprise Desktop 12 SP4Package registry (OSV)
suse:kernel-syms-azure4.12.14-5.19.1 · SUSE:Linux Enterprise Module for Public Cloud 15Package registry (OSV)
suse:kernel-vanilla4.12.14-25.28.1 · SUSE:Linux Enterprise Module for Development Tools 15Package registry (OSV)
suse:kernel-zfcpdump4.12.14-25.28.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:kgraft-patch-SLE12-SP4_Update_21-6.3.1 · SUSE:Linux Enterprise Live Patching 12 SP4Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records