cve.bz

CVE-2017-16939 Use After Free

7.8 highExploitEPSS 2.1%Fix available

High (7.8). EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
The XFRM dump policy implementation in net/xfrm/xfrm_user.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 SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-16939 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-16939?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-16939?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-16939 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 2.6.28 before 3.2.97
linux:linux_kernelfrom 3.3 before 3.16.52
linux:linux_kernelfrom 3.17 before 3.18.86
linux:linux_kernelfrom 3.19 before 4.1.48
linux:linux_kernelfrom 4.2 before 4.4.104
linux:linux_kernelfrom 4.5 before 4.9.60
linux:linux_kernelfrom 4.10 before 4.13.11
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.96-1DLA-1200-1
Debian8linux3.16.51-3+deb8u1DSA-4082-1
Debian12, 13, 14linux4.13.13-1DEBIAN-CVE-2017-16939
Ubuntu14.04:LTSlinux3.13.0-137.186UBUNTU-CVE-2017-16939 USN-3510-1
Ubuntu14.04:LTSlinux-aws4.4.0-1005.5UBUNTU-CVE-2017-16939 USN-3509-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-103.126~14.04.1UBUNTU-CVE-2017-16939 USN-3509-2
Ubuntu16.04:LTSlinux4.4.0-103.126UBUNTU-CVE-2017-16939 USN-3509-1
Ubuntu16.04:LTSlinux-aws4.4.0-1043.52UBUNTU-CVE-2017-16939 USN-3509-1
Ubuntu16.04:LTSlinux-azure4.11.0-1016.16UBUNTU-CVE-2017-16939 USN-3511-1
Ubuntu16.04:LTSlinux-euclid4.4.0-9020.21UBUNTU-CVE-2017-16939
Ubuntu16.04:LTSlinux-gcp4.13.0-1002.5UBUNTU-CVE-2017-16939 USN-3507-2
Ubuntu16.04:LTSlinux-hwe4.13.0-32.35~16.04.1UBUNTU-CVE-2017-16939 USN-3508-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1012.17UBUNTU-CVE-2017-16939 USN-3509-1
Ubuntu16.04:LTSlinux-oem4.13.0-1010.11UBUNTU-CVE-2017-16939
Ubuntu16.04:LTSlinux-raspi24.4.0-1079.87UBUNTU-CVE-2017-16939 USN-3509-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 15 more0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 22 more0:4.14.0-49.el7aRHSA-2018:0654
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 22 more0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.47.2.rt56.641.el6rtRHSA-2019:1190
Red Hatrhel_eus:7.4::computenodeperf, kernel, kernel-doc and 14 more0:3.10.0-693.47.2.el7RHSA-2019:1170
Red Hatrhel_eus:7.4::serverperf, kernel, kernel-doc and 21 more0:3.10.0-693.47.2.el7RHSA-2019:1170
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-862.2.3.rt56.806.el7RHSA-2018:1355
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.90-92.50.1SUSE-SU-2017:3226-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.92-6.30.1SUSE-SU-2017:3225-1
SUSELinux Enterprise High Availability Extension 12 SP2, Linux Enterprise Workstation Extension 12 SP2kernel-default4.4.90-92.50.1SUSE-SU-2017:3226-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.92-6.30.1SUSE-SU-2017:3225-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_106-2.1SUSE-SU-2017:3300-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_107-2.1SUSE-SU-2018:0282-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_115-2.1SUSE-SU-2017:3284-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_116-2.1SUSE-SU-2018:0280-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_125-2.1SUSE-SU-2017:3295-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_126-2.1SUSE-SU-2018:0272-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_134-2.1SUSE-SU-2017:3297-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_135-2.1SUSE-SU-2018:0277-1
90 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6.

This issue affects the version of the kernel package as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2 may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-862.2.3.rt56.806.el7Fixed 2018-05-08RHSA-2018:1355
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-49.el7aFixed 2018-04-10RHSA-2018:0654
Red Hat Enterprise Linux 7kernel-0:3.10.0-862.2.3.el7Fixed 2018-05-08RHSA-2018:1318
Red Hat Enterprise Linux 7.4 Extended Update Supportkernel-0:3.10.0-693.47.2.el7Fixed 2019-05-14RHSA-2019:1170
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.47.2.rt56.641.el6rtFixed 2019-05-14RHSA-2019:1190
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-16939.

Public exploits

References

Check your stackJSON