Security restrictions bypass in Linux kernel - CVE-2018-18397
Published: December 14, 2018 / Updated: June 17, 2021
Vulnerability details
The vulnerability allows a local attacker to bypass security restrictions on the target system.
The vulnerability exists due to improper access control in the userfaultfd implementation. A local attacker can access a system that is mounted with shmem or hugetlbs virtual memory areas, maliciously modify mapping to targeted files and write arbitrary memory on the system, which could be used to conduct additional attacks.
Affected software
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
kernel (Red Hat package)
kernel-alt (Red Hat package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws-hwe (Ubuntu package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Virtualization Host
BIG-IQ Centralized Management
BIG-IP AFM
BIG-IP Analytics
BIG-IP APM
BIG-IP ASM
BIG-IP LTM
BIG-IP FPS
BIG-IP GTM
BIG-IP PEM
BIG-IP Advanced WAF
BIG-IP AAM
BIG-IP DNS
BIG-IP Link Controller
BIG-IP DDHD
BIG-IP
BIG-IP SSLO
How to mitigate CVE-2018-18397
kernel (Red Hat package) - addressed in versions 3.10.0-693.44.1.el7, 3.10.0-862.27.1.el7, 3.10.0-957.5.1.el7
kernel-alt (Red Hat package) - update to 4.14.0-115.7.1.el7a
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1040.44, 4.15.0-1040.44~14.04.1
linux-oracle (Ubuntu package) - update to 4.15.0-1009.11~16.04.1
linux-gcp (Ubuntu package) - update to 4.15.0-1028.29~16.04.1
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1033.35~16.04.1
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in Linux Kernel
- Ubuntu update for Linux kernel (HWE)
- Red Hat update for kernel-alt
- Red Hat update for kernel
- Red Hat update for kernel
- Red Hat update for kernel
- Security restrictions bypass in Linux kernel in F5 Netwroks BIG-IP
- Security restrictions bypass in Linux kernel in F5 BIG-IQ Centralized Management