Back
CVE-2018-18397
The userfaultfd implementation in the Linux kernel before 4.19.7 mishandles access control for certain UFFDIO_ ioctl calls, as…
Medium5.5EPSS 0.51%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.51% · top 56% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
n/a
- affected n/a
References (14)
- USN-3903-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.87 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/torvalds/linux/commit/29ec90660d68bbdd69507c1c8b4e33aa299278b1 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3901-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2019:0324 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1700 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2019:0202 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:0163 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=29ec90660d68bbdd69507c1c8b4e33aa299278b1 (opens in a new tab)x_refsource_MISCx_transferred
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.7 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3901-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3903-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2019:0831 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHBA-2019:0327 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-18397)Record last updated .