CVE-2018-18397
Last modified
CVE-2018-18397 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.19.7 |
| Redhat | Openshift Container Platform | 3.11 |
| Redhat | Virtualization Host | 4.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.4 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Eus | 7.4 |
| Redhat | Enterprise Linux Server Eus | 7.5 |
| Redhat | Enterprise Linux Server Eus | 7.6 |
| Redhat | Enterprise Linux Server Tus | 7.4 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
References
- 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
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1700Exploit, Issue Tracking, Third Party Advisory
- 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
- https://github.com/torvalds/linux/commit/29ec90660d68bbdd69507c1c8b4e33aa299278b1Patch, Third Party Advisory
- https://usn.ubuntu.com/3901-1/Third Party Advisory
- https://usn.ubuntu.com/3901-2/Third Party Advisory
- https://usn.ubuntu.com/3903-1/Third Party Advisory
- https://usn.ubuntu.com/3903-2/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
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1700Exploit, Issue Tracking, Third Party Advisory
- 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
- https://github.com/torvalds/linux/commit/29ec90660d68bbdd69507c1c8b4e33aa299278b1Patch, Third Party Advisory
- https://usn.ubuntu.com/3901-1/Third Party Advisory
- https://usn.ubuntu.com/3901-2/Third Party Advisory
- https://usn.ubuntu.com/3903-1/Third Party Advisory
- https://usn.ubuntu.com/3903-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-18397?
How severe is CVE-2018-18397?
How do I fix CVE-2018-18397?
Are you affected by CVE-2018-18397?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
