Kernel: ipsec: xfrm: use-after-free leading to potential privilege escalation
Published Nov 24, 2017
7.8
HIGHCVSS 3.1
EPSS 2.15%
Description
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.
Affected products
No data.
Configuration 1
- ≥ 2.6.28 · < 3.2.97
- ≥ 3.3 · < 3.16.52
- ≥ 3.17 · < 3.18.86
- ≥ 3.19 · < 4.1.48
- ≥ 4.2 · < 4.4.104
- ≥ 4.5 · < 4.9.60
- ≥ 4.10 · < 4.13.11
Configuration 2
- 8.0
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-862.2.3.el7
Fixed · RHSA-2018:1318
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-49.el7a
Fixed · RHSA-2018:0654
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-862.2.3.rt56.806.el7
Fixed · RHSA-2018:1355
Red Hat Enterprise Linux 7.4 Extended Update Support
kernel-0:3.10.0-693.47.2.el7
Fixed · RHSA-2019:1170
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.47.2.rt56.641.el6rt
Fixed · RHSA-2019:1190
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-862.2.3.el7 | Fixed | RHSA-2018:1318 |
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-49.el7a | Fixed | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-862.2.3.rt56.806.el7 | Fixed | RHSA-2018:1355 |
| Red Hat Enterprise Linux 7.4 Extended Update Support | kernel-0:3.10.0-693.47.2.el7 | Fixed | RHSA-2019:1170 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.47.2.rt56.641.el6rt | Fixed | RHSA-2019:1190 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.15% (0.02150) | 81.46th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.15% (0.02150) | 79.68th | v5 (v2026.06.15) |
| Apr 1, 2026 | 10.15% (0.10155) | 93.08th | v4 (v2025.03.14) |
| Feb 5, 2026 | 7.16% (0.07155) | 91.35th | v4 (v2025.03.14) |
| Nov 27, 2025 | 10.88% (0.10879) | 93.09th | v4 (v2025.03.14) |
| May 25, 2025 | 8.99% (0.08986) | 92.15th | v4 (v2025.03.14) |
| Mar 30, 2025 | 7.93% (0.07933) | 91.24th | v4 (v2025.03.14) |
| Mar 29, 2025 | 9.67% (0.09674) | 88.09th | v4 (v2025.03.14) |
| Mar 17, 2025 | 7.54% (0.07543) | 91.19th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 0.34th | v3 (v2023.03.01) |
| May 8, 2023 | 0.04% (0.00042) | 0.49th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00043) | 7.45th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.53% (0.03534) | 84.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.53% (0.03534) | 83.33th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.53% (0.03534) | 66.49th | v2 (v2022.01.01) |
| Feb 3, 2022 | 8.62% (0.08624) | 85.47th | v1 |
| Jan 6, 2022 | 8.62% (0.08624) | 85.30th | v1 |
| Sep 1, 2021 | 8.62% (0.08624) | 92.92th | v1 |
| Apr 14, 2021 | 8.62% (0.08624) | 0.00th | v1 |
References (18)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2 x_refsource_MISCPatchTechnical Description
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2017/Nov/40 x_refsource_MISCMailing ListThird Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 x_refsource_MISCPatchVendor Advisory
- http://www.securityfocus.com/bid/101954 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1318 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1355 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1170 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1190 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-16939 Vendor Advisory
- https://blogs.securiteam.com/index.php/archives/3535 x_refsource_MISCExploitPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1517220 Issue Tracking
- https://bugzilla.suse.com/show_bug.cgi?id=1069702 x_refsource_MISCIssue TrackingThird Party Advisory
- https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html mailing-listx_refsource_MLISTThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16939
- https://www.cve.org/CVERecord?id=CVE-2017-16939
- https://www.debian.org/security/2018/dsa-4082 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.