CVE-2018-18397
Published: 12 December 2018
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.
From the Ubuntu Security Team
Jann Horn discovered that the userfaultd implementation in the Linux kernel did not properly restrict access to certain ioctls. A local attacker could use this possibly to modify files.
Priority
Status
Package | Release | Status |
---|---|---|
linux
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-46.49)
|
cosmic |
Released
(4.18.0-16.17)
|
|
trusty |
Not vulnerable
(3.11.0-12.19)
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Not vulnerable
(4.2.0-16.19)
|
|
Patches:
Introduced by
4c27fe4c4c84f3afd504ecff2420cc1ad420d38e
Introduced by
4c27fe4c4c84f3afd504ecff2420cc1ad420d38e
Introduced by
4c27fe4c4c84f3afd504ecff2420cc1ad420d38e
Introduced by
4c27fe4c4c84f3afd504ecff2420cc1ad420d38e
Introduced by
4c27fe4c4c84f3afd504ecff2420cc1ad420d38e
|
||
linux-aws
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1033.35)
|
cosmic |
Released
(4.18.0-1011.13)
|
|
trusty |
Not vulnerable
(4.4.0-1002.2)
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Not vulnerable
(4.4.0-1001.10)
|
|
linux-aws-hwe
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-1033.35~16.04.1)
|
|
linux-azure
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.18.0-1013.13~18.04.1)
|
cosmic |
Released
(4.18.0-1013.13)
|
|
trusty |
Released
(4.15.0-1040.44~14.04.1)
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-1040.44)
|
|
linux-azure-edge
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.18.0-1013.13~18.04.1)
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-1040.44)
|
|
linux-euclid
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Ignored
(was needs-triage ESM criteria)
|
|
linux-flo
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-gcp
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1028.29)
|
cosmic |
Released
(4.18.0-1007.8)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-1028.29~16.04.1)
|
|
linux-gcp-edge
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.18.0-1007.8~18.04.1)
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-gke
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Ignored
(end of standard support)
|
|
linux-goldfish
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Ignored
(end of life)
|
|
linux-grouper
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-hwe
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.18.0-16.17~18.04.1)
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-46.49~16.04.1)
|
|
linux-hwe-edge
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(5.0.0-8.9~18.04.1)
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-46.49~16.04.1)
|
|
linux-kvm
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1030.30)
|
cosmic |
Released
(4.18.0-1008.8)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Not vulnerable
(4.4.0-1004.9)
|
|
linux-lts-trusty
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-lts-utopic
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-lts-vivid
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-lts-wily
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-lts-xenial
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Not vulnerable
(4.4.0-13.29~14.04.1)
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-maguro
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-mako
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-manta
Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Does not exist
|
|
linux-oem
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1034.39)
|
cosmic |
Released
(4.15.0-1034.39)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Ignored
(end of standard support, was needs-triage)
|
|
linux-oracle
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1009.11)
|
cosmic |
Not vulnerable
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Released
(4.15.0-1009.11~16.04.1)
|
|
linux-raspi2
Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1032.34)
|
cosmic |
Released
(4.18.0-1010.12)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Not vulnerable
(4.2.0-1013.19)
|
|
linux-snapdragon
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.20~rc5)
|
|
xenial |
Not vulnerable
(4.4.0-1012.12)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
References
- https://lore.kernel.org/lkml/20181126173452.26955-2-aarcange@redhat.com/
- https://ubuntu.com/security/notices/USN-3901-1
- https://ubuntu.com/security/notices/USN-3901-2
- https://ubuntu.com/security/notices/USN-3903-1
- https://ubuntu.com/security/notices/USN-3903-2
- https://www.cve.org/CVERecord?id=CVE-2018-18397
- NVD
- Launchpad
- Debian