FlawAtlas
Search the atlas
UBUNTU-CVE-2018-18397 Moderate

UBUNTU-CVE-2018-18397

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.

Exploit probability Not scored
Published December 12, 2018
Required by Not available
Last source change April 22, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:14.04:LTS linux-azure

8 explicit affected versions

Ubuntu:16.04:LTS linux-aws-hwe

3 explicit affected versions

Ubuntu:16.04:LTS linux-azure

31 explicit affected versions

Ubuntu:16.04:LTS linux-gcp

26 explicit affected versions

Ubuntu:16.04:LTS linux-hwe

46 explicit affected versions

Ubuntu:16.04:LTS linux-oracle

2 explicit affected versions

Ubuntu:18.04:LTS linux

25 explicit affected versions

Ubuntu:18.04:LTS linux-aws

19 explicit affected versions

Ubuntu:18.04:LTS linux-azure

22 explicit affected versions

Ubuntu:18.04:LTS linux-gcp

18 explicit affected versions

Ubuntu:18.04:LTS linux-gcp-edge

3 explicit affected versions

Ubuntu:18.04:LTS linux-hwe

3 explicit affected versions

Ubuntu:18.04:LTS linux-kvm

19 explicit affected versions

Ubuntu:18.04:LTS linux-oem

16 explicit affected versions

Ubuntu:18.04:LTS linux-oracle

2 explicit affected versions

Ubuntu:18.04:LTS linux-raspi2

21 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related USN-3903-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2018-18397

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.

View original source

05 / REFERENCES

Further evidence