SecurityContext

CVE-2018-18397: Linux Kernel - Broken Access Control

  • Cve: CVE-2018-18397
  • Name: Linux Kernel - Broken Access Control
  • Description: 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.
  • Impact: Local users can write data into holes of tmpfs files, potentially leading to privilege escalation or data corruption.
  • Remediation: Update to Linux kernel version 4.19.7 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.0051
  • Epss percentile: 0.44381
  • Assignee: [email protected]
  • Published at: 2018-12-12T10:29:00Z
  • Age in days: 2904
  • Modified at: 2026-06-17T01:47:08Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 14
  • Products total: 10
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18397
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-863Incorrect Authorization

Public exploits

UrlSourceAdded date
https://bugs.chromium.org/p/project-zero/issues/detail?id=1700nvd2018-12-12

References

Same in every row:

  • Source: nvd
UrlTags
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.87Patch, Vendor Advisory
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.7Patch, Vendor Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=29ec90660d68bbdd69507c1c8b4e33aa299278b1Patch, Third Party Advisory
https://github.com/torvalds/linux/commit/29ec90660d68bbdd69507c1c8b4e33aa299278b1Patch, Third Party Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=1700Exploit, Issue Tracking, Third Party Advisory
https://access.redhat.com/errata/RHBA-2019:0327Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0163Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0202Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0324Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0831Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
linux:linux_kernel< 4.19.7/v1/products/linux/linux_kernel
canonical:ubuntu_linux= 18.10, = 18.04, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:enterprise_linux_server_aus= 7.6, = 7.4/v1/products/redhat/enterprise_linux_server_aus
redhat:enterprise_linux_server_tus= 7.6, = 7.4/v1/products/redhat/enterprise_linux_server_tus
redhat:enterprise_linux_server_eus= 7.6, = 7.5, = 7.4/v1/products/redhat/enterprise_linux_server_eus
redhat:openshift_container_platform= 3.11/v1/products/redhat/openshift_container_platform
redhat:virtualization_host= 4.0/v1/products/redhat/virtualization_host

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcommityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-12-12
  • Authentication required: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports