CVE-2018-18397

NameCVE-2018-18397
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)jessie3.16.56-1+deb8u1fixed
jessie (security)3.16.72-1fixed
stretch4.9.168-1fixed
stretch (security)4.9.168-1+deb9u5fixed
buster4.19.37-5fixed
buster (security)4.19.37-5+deb10u2fixed
bullseye4.19.37-6fixed
sid5.2.9-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)4.19.9-1low
linuxsourcejessie(not affected)
linuxsourcestretch(not affected)

Notes

[stretch] - linux <not-affected> (Vulnerable code not present)
[jessie] - linux <not-affected> (Vulnerable code not present)
https://lore.kernel.org/lkml/20181126173452.26955-1-aarcange@redhat.com/T/#u
https://bugs.chromium.org/p/project-zero/issues/detail?id=1700

Search for package or bug name: Reporting problems