Description
The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.9.18-1 | — |
| Debian 13 | linux | 4.9.18-1 | — |
| Debian 12 | linux | 4.9.18-1 | — |
| Debian 7 | linux | 3.2.88-1 | DLA-922-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-71.92 | USN-3249-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1012.21 | USN-3249-1 |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1009.9 | USN-3249-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.8.0-45.48~16.04.1 | USN-3251-2 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1051.58 | USN-3249-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1054.58 | USN-3249-1 |
| Ubuntu 14.04 LTS | linux | 3.13.0-115.162 | USN-3250-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-71.92~14.04.1 | USN-3249-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-693.5.2.rt56.626.el7 | RHSA-2017:2931 |
| RHEL 7 | perf +18 | 3.10.0-693.5.2.el7 | RHSA-2017:2930 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.3 TUS | perf +12 | 3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| RHEL 7.3 E4S | perf +14 | 3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| RHEL 7.3 AUS | perf +12 | 3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.5.2.rt56.592.el6rt | RHSA-2017:2918 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | kernel-docs | 4.4.49-92.14.3 | SUSE-SU-2017:0864-1 |
| SLES 12 SP2 | kernel-syms +3 | 4.4.49-92.14.1 | SUSE-SU-2017:0864-1 |
| SLES 12 SP1 | kernel-docs | 3.12.69-60.64.35.3 | SUSE-SU-2017:0865-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.69-60.64.35.1 | SUSE-SU-2017:0865-1 |
| SLES 12 | kernel-ec2 +3 | 3.12.61-52.69.2 | SUSE-SU-2017:0866-1, SUSE-SU-2017:0865-1 |
| SLES 12 | kernel-syms | 3.12.61-52.69.1 | SUSE-SU-2017:0866-1 |
| SLES 12 | kgraft-patch-SLE12_Update_13 +2 | 8-2.1 | SUSE-SU-2017:0881-1, SUSE-SU-2017:0880-1, SUSE-SU-2017:0873-1 |
| SLES 12 | kgraft-patch-SLE12_Update_16 | 5-2.1 | SUSE-SU-2017:0889-1 |
| SLES 12 | kgraft-patch-SLE12_Update_17 +1 | 4-2.1 | SUSE-SU-2017:0888-1, SUSE-SU-2017:0876-1 |
| SLES 12 | kgraft-patch-SLE12_Update_19 | 3-2.1 | SUSE-SU-2017:0875-1 |
| SLES 12 | kgraft-patch-SLE12_Update_20 | 1-2.3 | SUSE-SU-2017:0866-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-100.2 | SUSE-SU-2017:1301-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.49-92.14.1 | SUSE-SU-2017:0864-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.69-60.64.35.1 | SUSE-SU-2017:0865-1 |
| SLES for SAP 12 | kernel-syms | 3.12.61-52.69.1 | SUSE-SU-2017:0866-1 |
| SLES for SAP 12 | kernel-xen +2 | 3.12.61-52.69.2 | SUSE-SU-2017:0866-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_13 +2 | 8-2.1 | SUSE-SU-2017:0881-1, SUSE-SU-2017:0880-1, SUSE-SU-2017:0873-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_16 | 5-2.1 | SUSE-SU-2017:0889-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_17 +1 | 4-2.1 | SUSE-SU-2017:0888-1, SUSE-SU-2017:0876-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_19 | 3-2.1 | SUSE-SU-2017:0875-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_20 | 1-2.3 | SUSE-SU-2017:0866-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLE Real Time 12 SP2 | kernel-rt +3 | 4.4.74-7.10.1 | SUSE-SU-2017:1990-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.5.1 | SUSE-SU-2017:2342-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_12 | 3-2.1 | SUSE-SU-2017:0871-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_4 +2 | 9-2.1 | SUSE-SU-2017:0882-1, SUSE-SU-2017:0877-1, SUSE-SU-2017:0874-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_7 | 8-2.1 | SUSE-SU-2017:0883-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_8 | 7-2.1 | SUSE-SU-2017:0879-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_9 | 6-2.1 | SUSE-SU-2017:0887-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_0 | 5-14.2 | SUSE-SU-2017:0870-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_1 +1 | 5-2.1 | SUSE-SU-2017:0868-1, SUSE-SU-2017:0867-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_2 +3 | 4-2.1 | SUSE-SU-2017:0886-1, SUSE-SU-2017:0884-1, SUSE-SU-2017:0878-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_5 +1 | 2-2.1 | SUSE-SU-2017:0885-1, SUSE-SU-2017:0872-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_6 +1 | 1-2.1 | SUSE-SU-2017:0865-1, SUSE-SU-2017:0864-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.18.2.el6uek | 0.4.5-3.el6 | ELSA-2017-3566 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.18.2.el7uek | 0.4.5-3.el7 | ELSA-2017-3566 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.34.el6uek | 0.5.3-2.el6 | ELSA-2017-3539 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.34.el7uek | 0.5.3-2.el7 | ELSA-2017-3539 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.18.2.el7uek | ELSA-2017-3566, ELSA-2017-3539 |
| Oracle Linux 7 | perf +11 | 3.10.0-693.5.2.el7 | ELSA-2017-2930 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
shakyanayann/CVE-2017-7184 ★ 0 · Mar 5, 2026
-
Grish-Pradhan/CVE-2017-7184 ★ 0 · Feb 2, 2026
-
b1nhack/CVE-2017-7184 ★ 0 · May 16, 2025
CVE-2017-7184 exp
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 43
- RHSA-2017:2931 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2918 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2930 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2019:4159 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3249-1 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3250-1 linux vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-922-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3249-2 linux-lts-xenial vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3251-2 linux-hwe vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:0871-1 Security update for Linux Kernel Live Patch 12 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0873-1 Security update for Linux Kernel Live Patch 13 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0877-1 Security update for Linux Kernel Live Patch 6 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2525-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0886-1 Security update for Linux Kernel Live Patch 11 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0874-1 Security update for Linux Kernel Live Patch 4 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0864-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0884-1 Security update for Linux Kernel Live Patch 4 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0867-1 Security update for Linux Kernel Live Patch 1 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0866-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0869-1 Security update for Linux Kernel Live Patch 2 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0885-1 Security update for Linux Kernel Live Patch 5 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0882-1 Security update for Linux Kernel Live Patch 5 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0888-1 Security update for Linux Kernel Live Patch 18 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0876-1 Security update for Linux Kernel Live Patch 17 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0868-1 Security update for Linux Kernel Live Patch 10 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0881-1 Security update for Linux Kernel Live Patch 14 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0880-1 Security update for Linux Kernel Live Patch 15 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0865-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0883-1 Security update for Linux Kernel Live Patch 7 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0875-1 Security update for Linux Kernel Live Patch 19 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0878-1 Security update for Linux Kernel Live Patch 3 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0879-1 Security update for Linux Kernel Live Patch 8 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0870-1 Security update for Linux Kernel Live Patch 0 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1301-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0872-1 Security update for Linux Kernel Live Patch 13 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0889-1 Security update for Linux Kernel Live Patch 16 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0887-1 Security update for Linux Kernel Live Patch 9 for SLE 12 SP1 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:1990-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:2342-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ICSA-21-280-02 Mobile Industrial Robots Vehicles and MiR Fleet Software CISA ICS & IT advisories · Oct 7, 2021
- ELSA-2017-2930 Important: kernel security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 19, 2017
- ELSA-2017-3566 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 16, 2017
- ELSA-2017-3539 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 13, 2017
References
- https://blog.trendmicro.com/results-pwn2own-2017-day-one/
- RHSA-2017:2918 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a
- RHSA-2017:2931 vendor-advisory
- 97018 vdb-entry
- https://source.android.com/security/bulletin/2017-05-01
- 1038166 vdb-entry
- https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df
- http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition
- https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a
- https://twitter.com/thezdi/status/842126074435665920
- http://openwall.com/lists/oss-security/2017/03/29/2
- RHSA-2017:2930 vendor-advisory
- RHSA-2019:4159 vendor-advisory