CVE-2017-15115: Use After Free

Published Nov 15, 2017
·
Updated

It was found that in Linux kernel when peeling off an association to the socket in another network namespace, all transports in this association are not to be rehashed and keep use the old key in hashtable. A kernel would miss removing transports from hashtable when closing the socket and all transports are being freed. Later on a use-after-free issue could be caused when looking up an association and dereferencing the transports.

References:

https://patchwork.ozlabs.org/patch/827077/

http://seclists.org/oss-sec/2017/q4/282

An upstream patch:

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

Other sources

The sctpdopeeloff function in net/sctp/socket.c in the Linux kernel before 4.14 does not check whether the intended netns is used in a peel-off action, which allows local users to cause a denial of service (use-after-free and system crash) or possibly have unspecified other impact via crafted system calls.

Launchpad

Affected Software

14 affected componentsFixes available
Linux Linux kernel<3.2.96
Linux Linux kernel>=3.3<3.16.51
Linux Linux kernel>=3.17<3.18.84
Linux Linux kernel>=3.19<4.1.47
Linux Linux kernel>=4.2<4.4.100
Linux Linux kernel>=4.5<4.9.65
Linux Linux kernel>=4.10<4.13.16
Debian Debian Linux=7.0
SUSE Linux Enterprise Server=11-sp4
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch df80cd9b28b9ebaa284a41df611dbf3a2d05ca74
  3. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 827077

Event History

Nov 15, 2017
Data Sourced
via Red Hat·09:21 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Data Sourced
via NVD·09:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:31 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:02 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·12:51 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-15115?

CVE-2017-15115 has a medium severity level due to the potential for unintended data exposure related to socket associations.

2

How do I fix CVE-2017-15115?

To mitigate CVE-2017-15115, you should upgrade your Linux kernel to version 5.10.223-1 or later, or apply the relevant patches provided by your distribution.

3

Which versions of Linux are affected by CVE-2017-15115?

CVE-2017-15115 affects multiple versions of the Linux kernel, specifically versions prior to 5.10.223-1 and various earlier versions between 3.x and 4.x.

4

Is CVE-2017-15115 exploitable remotely?

CVE-2017-15115 is not considered remotely exploitable as it requires local access to the system, affecting only users with elevated privileges.

5

What types of network issues could CVE-2017-15115 cause?

CVE-2017-15115 may lead to inconsistent socket behavior and could potentially allow for unauthorized data retention in some network namespaces.

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