CVE-2018-18397

kernel: userfaultfd bypasses tmpfs file permissions

Published Dec 12, 2018 CVSS 3.0 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-10126 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.
Ubuntu USN Ubuntu USN USN-3901-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3901-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3903-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3903-2 Linux kernel (HWE) vulnerabilities
History

No history.