CVE-2017-16939: Use After Free

Published Nov 24, 2017
·
Updated

Last updated 29 November 2024

Other sources

Linux kernel built with the Transformation User configuration interface(CONFIGXFRMUSER) is vulnerable to a use-after-free issue. It could occur while closing a xfrm netlink socket, in xfrmdumppolicydone.

A user/process could use this flaw to potentially escalate their privileges on a system.

Upstream patch: --------------- -> https://git.kernel.org/linus/1137b5e2529a8f5ca8ee709288ecba3e68044df2

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/11/24/3 -> https://blogs.securiteam.com/index.php/archives/3535

Red Hat

The XFRM dump policy implementation in net/xfrm/xfrmuser.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SORCVBUF setsockopt system call in conjunction with XFRMMSGGETPOLICY Netlink messages.

Launchpad

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=2.6.28<3.2.97
Linux Linux kernel>=3.3<3.16.52
Linux Linux kernel>=3.17<3.18.86
Linux Linux kernel>=3.19<4.1.48
Linux Linux kernel>=4.2<4.4.104
Linux Linux kernel>=4.5<4.9.60
Linux Linux kernel>=4.10<4.13.11
Debian Debian Linux=8.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Nov 24, 2017
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
via Red Hat·10:51 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:32 PM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·01:58 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-16939?

CVE-2017-16939 has a high severity due to its potential to allow privilege escalation in affected systems.

2

How do I fix CVE-2017-16939?

To fix CVE-2017-16939, upgrade to the patched versions of the Linux kernel, specifically versions 5.10.223-1 or later.

3

What systems are affected by CVE-2017-16939?

CVE-2017-16939 affects multiple versions of the Linux kernel, particularly those built with the CONFIG_XFRM_USER configuration.

4

Can CVE-2017-16939 be exploited remotely?

CVE-2017-16939 could potentially be exploited locally by a user with access to the vulnerable system.

5

What impact does CVE-2017-16939 have on system security?

CVE-2017-16939 could lead to unauthorized privilege escalation, compromising the integrity and security of the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203