CVE-2017-5986: Race Condition

Published Feb 8, 2017
·
Updated

It was reported that with Linux kernel, earlier than version v4.10-rc8, an application may trigger a BUGON in sctpwaitforsndbuf if the socket tx buffer is full, a thread is waiting on it to queue more data, and meanwhile another thread peels off the association being used by the first thread.

References:

https://lkml.org/lkml/2017/1/30/238

http://seclists.org/oss-sec/2017/q1/432

Upstream patch:

https://github.com/torvalds/linux/commit/2dcab598484185dea7ec22219c76dcdd59e3cb90

Other sources

Race condition in the sctpwaitforsndbuf function in net/sctp/socket.c in the Linux kernel before 4.9.11 allows local users to cause a denial of service (assertion failure and panic) via a multithreaded application that peels off an association in a certain buffer-full state.

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.9.11
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-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 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.22-1
  2. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Fixed in 4.9.11
  3. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Patch 2dcab598484185dea7ec22219c76dcdd59e3cb90
  4. Compensating control

    Until the system is upgraded, mitigate the denial-of-service risk by limiting local users' ability to trigger the vulnerable multithreaded SCTP behavior (e.g., restrict access to untrusted local users/tenants that could run such workloads).

Event History

Feb 8, 2017
Data Sourced
via Red Hat·10:38 AM
DescriptionSeverityAffected Software
Feb 18, 2017
CVE Published
via MITRE·09:40 PM
Data Sourced
via MITRE·09:40 PM
Description
Data Sourced
via NVD·09:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:38 PM
Description
Dec 5, 2024
Data Sourced
via Ubuntu·02:03 AM
RemedyDescriptionSeverityAffected Software
Dec 13, 58332
Event
06:12 AM

Frequently Asked Questions

1

What is CVE-2017-5986?

CVE-2017-5986 is a vulnerability in the Linux kernel that allows local users to cause a denial of service by triggering a race condition in the sctp_wait_for_sndbuf function.

2

How severe is CVE-2017-5986?

CVE-2017-5986 has a severity level of medium.

3

How do I fix CVE-2017-5986?

To fix CVE-2017-5986, update your Linux kernel to version 4.9.11 or higher.

4

Where can I find more information about CVE-2017-5986?

You can find more information about CVE-2017-5986 at the following references: [https://lkml.org/lkml/2017/1/30/238](https://lkml.org/lkml/2017/1/30/238), [http://seclists.org/oss-sec/2017/q1/432](http://seclists.org/oss-sec/2017/q1/432), [https://github.com/torvalds/linux/commit/2dcab598484185dea7ec22219c76dcdd59e3cb90](https://github.com/torvalds/linux/commit/2dcab598484185dea7ec22219c76dcdd59e3cb90).

5

What is the CWE of CVE-2017-5986?

CVE-2017-5986 has a Common Weakness Enumeration (CWE) of 362.

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