CVE-2018-18397

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=29ec90660d68bbdd69507c1c8b4e33aa299278b1

https://access.redhat.com/errata/RHBA-2019:0327

https://access.redhat.com/errata/RHSA-2019:0163

https://access.redhat.com/errata/RHSA-2019:0202

https://access.redhat.com/errata/RHSA-2019:0324

https://access.redhat.com/errata/RHSA-2019:0831

https://bugs.chromium.org/p/project-zero/issues/detail?id=1700

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.87

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.7

https://github.com/torvalds/linux/commit/29ec90660d68bbdd69507c1c8b4e33aa299278b1

https://usn.ubuntu.com/3901-1/

https://usn.ubuntu.com/3901-2/

https://usn.ubuntu.com/3903-1/

https://usn.ubuntu.com/3903-2/

Details

Source: MITRE

Published: 2018-12-12

Updated: 2020-08-24

Type: CWE-863

Risk Information

CVSS v2

Base Score: 2.1

Vector: AV:L/AC:L/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Impact Score: 3.6

Exploitability Score: 1.8

Severity: MEDIUM

Tenable Plugins

View all (24 total)

IDNameProductFamilySeverity
151465F5 Networks BIG-IP : Linux kernel vulnerability (K83102920)NessusF5 Networks Local Security Checks
medium
133451Virtuozzo 7 : readykernel-patch (VZA-2019-006)NessusVirtuozzo Local Security Checks
medium
127281NewStart CGSL CORE 5.04 / MAIN 5.04 : kernel-rt Multiple Vulnerabilities (NS-SA-2019-0074)NessusNewStart CGSL Local Security Checks
critical
127272NewStart CGSL CORE 5.04 / MAIN 5.04 : kernel Multiple Vulnerabilities (NS-SA-2019-0070)NessusNewStart CGSL Local Security Checks
critical
124984EulerOS Virtualization for ARM 64 3.0.1.0 : kernel (EulerOS-SA-2019-1531)NessusHuawei Local Security Checks
high
124257RHEL 7 : kernel-alt (RHSA-2019:0831)NessusRed Hat Local Security Checks
high
122699EulerOS 2.0 SP5 : kernel (EulerOS-SA-2019-1076)NessusHuawei Local Security Checks
high
122669Ubuntu 18.04 LTS : linux-hwe, linux-azure vulnerabilities (USN-3903-2)NessusUbuntu Local Security Checks
high
122668Ubuntu 18.10 : linux, linux-azure, linux-gcp, linux-kvm, linux-raspi2 vulnerabilities (USN-3903-1)NessusUbuntu Local Security Checks
high
122647Ubuntu 14.04 LTS / 16.04 LTS : linux-hwe, linux-aws-hwe, linux-azure, linux-gcp, linux-oracle vulnerabilities (USN-3901-2)NessusUbuntu Local Security Checks
medium
122646Ubuntu 18.04 LTS : linux, linux-aws, linux-gcp, linux-kvm, linux-oem, linux-oracle, linux-raspi2 vulnerabilities (USN-3901-1)NessusUbuntu Local Security Checks
medium
122142RHEL 7 : kernel (RHSA-2019:0324)NessusRed Hat Local Security Checks
medium
122141Oracle Linux 7 : Unbreakable Enterprise kernel (ELSA-2019-4541)NessusOracle Linux Local Security Checks
high
121605OracleVM 3.4 : Unbreakable / etc (OVMSA-2019-0002)NessusOracleVM Local Security Checks
high
121571SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2019:0224-1)NessusSuSE Local Security Checks
high
121569SUSE SLES12 Security Update : kernel (SUSE-SU-2019:0222-1) (Spectre)NessusSuSE Local Security Checks
high
121566Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2019-4528)NessusOracle Linux Local Security Checks
medium
121547CentOS 7 : kernel (CESA-2019:0163)NessusCentOS Local Security Checks
high
121496Oracle Linux 7 : kernel (ELSA-2019-0163)NessusOracle Linux Local Security Checks
high
121466SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2019:0196-1)NessusSuSE Local Security Checks
high
121456Scientific Linux Security Update : kernel on SL7.x x86_64 (20190129)NessusScientific Linux Local Security Checks
high
121453RHEL 7 : kernel (RHSA-2019:0202)NessusRed Hat Local Security Checks
medium
121449RHEL 7 : kernel (RHSA-2019:0163)NessusRed Hat Local Security Checks
high
121289openSUSE Security Update : the Linux Kernel (openSUSE-2019-65)NessusSuSE Local Security Checks
high