Skip to content
OpenAdvisories
Unscored CVE-2018-18397 EUVD-2018-10126GHSA-7cx6-7887-9rwv

The userfaultfd implementation in the Linux kernel before 4.19.7 mishandles access control for certain UFFDIO_ ioctl calls, as demonstrated…

Published Dec 12, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.19.9-1 —
Debian 13 linux 4.19.9-1 —
Debian 12 linux 4.19.9-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS linux 4.15.0-46.49 USN-3901-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1033.35 USN-3901-1
Ubuntu 18.04 LTS linux-azure 4.18.0-1013.13~18.04.1 USN-3903-2
Ubuntu 18.04 LTS linux-gcp 4.15.0-1028.29 USN-3901-1
Ubuntu 18.04 LTS linux-gcp-edge 4.18.0-1007.8~18.04.1 —
Ubuntu 18.04 LTS linux-hwe 4.18.0-16.17~18.04.1 USN-3903-2
Ubuntu 18.04 LTS linux-kvm 4.15.0-1030.30 USN-3901-1
Ubuntu 18.04 LTS linux-oem 4.15.0-1034.39 USN-3901-1
Ubuntu 18.04 LTS linux-oracle 4.15.0-1009.11 USN-3901-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1032.34 USN-3901-1
Ubuntu 16.04 LTS linux-aws-hwe 4.15.0-1033.35~16.04.1 USN-3901-2
Ubuntu 16.04 LTS linux-azure 4.15.0-1040.44 USN-3901-2
Ubuntu 16.04 LTS linux-gcp 4.15.0-1028.29~16.04.1 USN-3901-2
Ubuntu 16.04 LTS linux-hwe 4.15.0-46.49~16.04.1 USN-3901-2
Ubuntu 16.04 LTS linux-oracle 4.15.0-1009.11~16.04.1 USN-3901-2
Ubuntu 14.04 LTS linux-azure 4.15.0-1040.44~14.04.1 USN-3901-2
ReleasePackageFixed inAdvisory
RHEL 7 kernel-alt 4.14.0-115.7.1.el7a RHSA-2019:0831
RHEL 7 perf +19 3.10.0-957.5.1.el7 RHSA-2019:0831, RHSA-2019:0163
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.5 EUS perf +18 3.10.0-862.27.1.el7 RHSA-2019:0202
RHEL 7.4 EUS perf +18 3.10.0-693.44.1.el7 RHSA-2019:0324
ReleasePackageFixed inAdvisory
SLES 15 kernel-azure +2 4.12.14-5.19.1 SUSE-SU-2019:0150-1
SLES 15 kernel-docs +6 4.12.14-25.28.1 SUSE-SU-2019:0224-1
SLES 12 SP4 kernel-azure +2 4.12.14-6.6.2 SUSE-SU-2019:0222-1
SLES 12 SP4 kernel-docs +4 4.12.14-95.6.1 SUSE-SU-2019:0196-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP4 kernel-azure +2 4.12.14-6.6.2 SUSE-SU-2019:0222-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.6.1 SUSE-SU-2019:0196-1
SLE Live Patching 15 kernel-default 4.12.14-25.28.1 SUSE-SU-2019:0224-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_8 1-1.3.1 SUSE-SU-2019:0224-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_2 1-6.3.1 SUSE-SU-2019:0196-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.0 kernel-source 4.12.14-lp150.12.45.1 openSUSE-SU-2019:0065-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kernel-uek +5 4.1.12-124.24.5.el7uek ELSA-2019-4541, ELSA-2019-4528
Oracle Linux 7 kernel-uek-tools +3 4.14.35-1844.2.5.el7uek ELSA-2019-4541
Oracle Linux 7 perf +12 3.10.0-957.5.1.el7 ELSA-2019-4541, ELSA-2019-0163

Advisories 15

References