CVE-2018-18397
Reported by mitre · Published December 12, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-azure | Ubuntu:14.04:LTS | 4.15.0-1040.44~14.04.1 |
| linux-gcp | Ubuntu:16.04:LTS | 4.15.0-1028.29~16.04.1 |
| linux-aws | Ubuntu:18.04:LTS | 4.15.0-1033.35 |
| linux_kernel | linux | 4.19.7 |
| linux-oracle | Ubuntu:18.04:LTS | 4.15.0-1009.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Dec 12, 2018 CVE Published
- Dec 13, 2018 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (13 in total, the first dated here)
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-18397
vulnetix vdb fixes CVE-2018-18397
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18397/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3903-2 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- x_refsource_MISC
- USN-3901-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2019:0324 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- RHSA-2019:0202 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:0163 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- x_refsource_MISC
- USN-3901-1 vendor-advisoryx_refsource_UBUNTU
- USN-3903-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2019:0831 vendor-advisoryx_refsource_REDHAT
- RHBA-2019:0327 vendor-advisoryx_refsource_REDHAT