CVE-2017-8824: Use After Free

Published Dec 1, 2017
·
Updated

The dccpdisconnect function in net/dccp/proto.c in the Linux kernel through 4.14.3 allows local users to gain privileges or cause a denial of service (use-after-free) via an AFUNSPEC connect system call during the DCCPLISTEN state.

Other sources

Use-after-free vulnerability was found in DCCP socket code affecting kernel since at least 2.6.16, potentially allowing attacker to cause privilege escalation.

References:

http://www.openwall.com/lists/oss-security/2017/12/05/1 http://www.spinics.net/lists/netdev/msg469985.html

http://lists.openwall.net/netdev/2017/12/04/224

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=69c64866ce072dea1d1e59a0d61e0f66c0dffb76

— Red Hat

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=2.6.14<3.2.97
Linux Linux kernel>=3.3<3.16.52
Linux Linux kernel>=3.17<3.18.95
Linux Linux kernel>=3.19<4.1.50
Linux Linux kernel>=4.2<4.4.116
Linux Linux kernel>=4.5<4.9.82
Linux Linux kernel>=4.10<4.14.20
debian/linux
3.2.96-13.16.51-3+deb8u14.9.65-3+deb9u14.14.7-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.2.96-1Fixed in 3.16.51-3+deb8u1Fixed in 4.9.65-3+deb9u1Fixed in 4.14.7-1
  2. Configuration

    Add the following lines to /etc/modprobe.d/blacklist-dccp.conf to disable DCCP IPv4/IPv6 autoloading aliases: alias net-pf-10-proto-0-type-6 off; alias net-pf-10-proto-33-type-6 off; alias net-pf-2-proto-0-type-6 off; alias net-pf-2-proto-33-type-6 off.

    Linux kernel DCCP net-pf-10-proto-0-type-6, net-pf-10-proto-33-type-6, net-pf-2-proto-0-type-6, net-pf-2-proto-33-type-6 = off

Event History

Dec 1, 2017
Data Sourced
12:54 AM
DescriptionSeverityAffected Software
Dec 5, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
DescriptionWeakness
Sep 9, 2021
Data Sourced
via Red Hat·12:53 PM
DescriptionSeverityAffected Software
Feb 24, 2023
Data Sourced
06:32 PM
Weakness
Data Sourced
via NVD·06:32 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:32 PM
Affected Software
Nov 21, 2024
Updated
via NVD·03:34 AM
Affected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software
Jul 4, 2026
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2017-8824?

CVE-2017-8824 is classified as a high severity vulnerability due to the potential for privilege escalation or denial of service.

2

How do I fix CVE-2017-8824?

To fix CVE-2017-8824, users should upgrade to a patched version of the Linux kernel, specifically versions above 4.14.20.

3

Who is affected by CVE-2017-8824?

CVE-2017-8824 affects local users of the Linux kernel versions up to 4.14.3.

4

What type of vulnerability is CVE-2017-8824?

CVE-2017-8824 is a use-after-free vulnerability that can be exploited during the DCCP_LISTEN state.

5

How does CVE-2017-8824 allow exploitation?

CVE-2017-8824 can be exploited via an AF_UNSPEC connect system call, potentially leading to privilege escalation.

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