Buffer overflow in Linux kernel - CVE-2017-7184
Published: March 30, 2017 / Updated: October 11, 2021
Vulnerability details
The vulnerability exists due to boundary error in xfrm_replay_verify_len() function in net/xfrm/xfrm_user.c in Linux kernel when validating data after an XFRM_MSG_NEWAE update. A local use can trigger heap-based buffer overflow by leveraging the CAP_NET_ADMIN capability and execute arbitrary code on the target system with root privileges.
Successful exploitation of this vulnerability may allow an attacker to compromise vulnerable system.
This vulnerability was demonstrated during the Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.
Affected software
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Real Time
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 Server
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 Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
SUSE Linux
Ubuntu
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
Red Hat Virtualization Host
MiR100
MiR200
MiR250
MiR500
MiR1000
MiR Fleet
How to mitigate CVE-2017-7184
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
MiR100 - update to 2.10.2.1
MiR200 - update to 2.10.2.1
MiR250 - update to 2.10.2.1
MiR500 - update to 2.10.2.1
MiR1000 - update to 2.10.2.1
MiR Fleet - update to 2.10.2.1
External References
Related Security Bulletins
- Privilege escalation in Linux kernel
- Ubuntu update for Linux kernel (HWE)
- Ubuntu update for Linux kernel (Xenial HWE)
- Ubuntu update for Linux kernel (Trusty HWE)
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel
- SUSE Linux update for Linux Kernel Live Patch 3 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 18 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 15 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 11 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 4 for SLE 12 SP2
- SUSE Linux update for Linux Kernel Live Patch 9 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 13 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 14 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 5 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 6 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 17 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 19 for SLE 12
- SUSE Linux update for Linux Kernel Live Patch 10 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 1 for SLE 12 SP2
- Red Hat update for kernel-rt
- Red Hat update for kernel
- Red Hat update for kernel
- Multiple vulnerabilities in Mobile Industrial Robots Vehicles and MiR Fleet Software
- Red Hat Enterprise MRG 2 update for kernel-rt