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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186aVendor Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0dfVendor Advisory
- http://openwall.com/lists/oss-security/2017/03/29/2Mailing List, Third Party Advisory
- http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competitionTechnical Description, Third Party Advisory
- http://www.securityfocus.com/bid/97018Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038166Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2918Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2930Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2931Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
- https://blog.trendmicro.com/results-pwn2own-2017-day-one/Technical Description, Third Party Advisory
- https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186aThird Party Advisory
- https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0dfThird Party Advisory
- https://source.android.com/security/bulletin/2017-05-01Third Party Advisory
- https://twitter.com/thezdi/status/842126074435665920Press/Media Coverage, Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186aVendor Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0dfVendor Advisory
- http://openwall.com/lists/oss-security/2017/03/29/2Mailing List, Third Party Advisory
- http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competitionTechnical Description, Third Party Advisory
- http://www.securityfocus.com/bid/97018Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038166Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2918Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2930Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2931Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
- https://blog.trendmicro.com/results-pwn2own-2017-day-one/Technical Description, Third Party Advisory
- https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186aThird Party Advisory
- https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0dfThird Party Advisory
- https://source.android.com/security/bulletin/2017-05-01Third Party Advisory
- https://twitter.com/thezdi/status/842126074435665920Press/Media Coverage, Third Party Advisory
Timeline
- Published
- Mar 19, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified