Privilege escalation in Linux kernel - CVE-2017-1000112
Published: August 16, 2017 / Updated: June 17, 2021
Vulnerability identifier: #VU7954
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-1000112
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a local attacker to gain elevated privileges on the target system.
The weakness exists due to race condition in the UDP Fragmentation Offload (UFO) code. A local attacker can send specially crafted UFO packets, trigger memory corruption and execute arbitrary code with elevated privileges.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists due to race condition in the UDP Fragmentation Offload (UFO) code. A local attacker can send specially crafted UFO packets, trigger memory corruption and execute arbitrary code with elevated privileges.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
Linux kernel
Amazon Linux AMI
Red Hat Enterprise Linux Server - Extended Life Cycle Support
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
SUSE Linux
Ubuntu
Fedora
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat 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
kernel
Red Hat Virtualization Host
Amazon Linux AMI
Red Hat Enterprise Linux Server - Extended Life Cycle Support
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
SUSE Linux
Ubuntu
Fedora
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat 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
kernel
Red Hat Virtualization Host
How to mitigate CVE-2017-1000112
Update to version 4.12.6-1.
kernel (Red Hat package) - addressed in versions 2.6.18-348.44.1.el5, 2.6.18-438.el5, 2.6.32-696.16.1.el6, 3.10.0-514.71.1.el7, 3.10.0-693.5.2.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.5.2.rt56.592.el6rt, 3.10.0-693.5.2.rt56.626.el7
kernel - addressed in versions 4.12.8-200.fc25, 4.12.8-300.fc26
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.5.2.rt56.592.el6rt, 3.10.0-693.5.2.rt56.626.el7
kernel - addressed in versions 4.12.8-200.fc25, 4.12.8-300.fc26
Links to Public Exploits and PoC-codes
- Exploit #6393 - Linux Kernel < 4.4.0-83 / < 4.8.0-58 (Ubuntu 14.04/16.04) - Local Privilege Escalation (KASLR / SMEP) (June 17, 2021)
- Exploit #6340 - Linux Kernel - UDP Fragmentation Offset 'UFO' Privilege Escalation (Metasploit) (June 17, 2021)
- Exploit #6060 - Linux Kernel < 4.4.0/ < 4.8.0 (Ubuntu 14.04/16.04 / Linux Mint 17/18 / Zorin) - Local Privilege Escalation (KASLR / SMEP) (June 17, 2021)
- Exploit #2652 - SNP-Assignment (Exploit work Privilege Escalation CVE-2017-1000112) (May 12, 2020)
- Exploit #2390 - CVE-Exploit-Script () (April 7, 2020)
- Exploit #1810 - Linux Kernel UDP Fragmentation Offset (UFO) Privilege Escalation (March 18, 2020)
External References
Related Security Bulletins
- Privilege escalation in Linux Kernel
- OpenSUSE update for Linux Kernel
- OpenSUSE update for Linux Kernel
- OpenSUSE update for Linux Kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (Trusty HWE)
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (HWE)
- Ubuntu update for Linux kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- SUSE Linux update for Linux Kernel
- Amazon Linux AMI update for kernel
- SUSE Linux update for Linux Kernel Live Patch 26 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 25 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 0 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 11 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 10 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 4 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 8 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 9 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 3 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 7 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 5 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 2 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 20 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 18 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 9 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 14 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 17 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 13 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 8 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 16 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 12 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 15 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 10 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 11 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 21 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 27 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 8 for SLE 12 SP1
- Red Hat update for kernel
- Red Hat update for kernel-rt
- Red Hat update for kernel
- Red Hat update for kernel
- Red Hat Enterprise Linux 5.9 Long Life update for kernel
- Red Hat Enterprise Linux 5 Extended Lifecycle Support update for kernel
- Fedora 26 update for kernel
- Fedora 25 update for kernel
- Red Hat Enterprise MRG 2 update for kernel-rt