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
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.chromium.org/p/project-zero/issues/detail?id=1700 | nvd | 2018-12-12 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.87 | Patch, Vendor Advisory |
| https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.7 | Patch, Vendor Advisory |
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=29ec90660d68bbdd69507c1c8b4e33aa299278b1 | Patch, Third Party Advisory |
| https://github.com/torvalds/linux/commit/29ec90660d68bbdd69507c1c8b4e33aa299278b1 | Patch, Third Party Advisory |
| https://bugs.chromium.org/p/project-zero/issues/detail?id=1700 | Exploit, Issue Tracking, Third Party Advisory |
| https://access.redhat.com/errata/RHBA-2019:0327 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:0163 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:0202 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:0324 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:0831 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | commit | yes | /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