CVE-2015-8767: Race Condition

Published Jan 11, 2016
·
Updated

From the git commit:

An deadlock condition can occur when sctpaccept() is called by the local software during a heartbeat timeout event after the 4-way handshake. Since sctpassocmigrate() changes both assoc->base.sk and assoc->ep, the bhsocklock in sctpgenerateheartbeatevent() will be taken with the listening socket but released with the new association socket. The result is a deadlock on any future attempts to take the listening socket lock, preventing sctp sockets from working correctly.

The server must be running an service using the sctp protocol to be affected.

Resources:

https://patchwork.ozlabs.org/patch/522411/ https://patchwork.ozlabs.org/patch/522412/

Patch commit notes (net-next.git): https://kernel.googlesource.com/pub/scm/linux/kernel/git/horms/ipvs/+/635682a14427d241bab7bbdeebb48a7d7b91638e

CVE Request: http://seclists.org/oss-sec/2016/q1/66

Other sources

net/sctp/smsideeffect.c in the Linux kernel before 4.3 does not properly manage the relationship between a lock and a socket, which allows local users to cause a denial of service (deadlock) via a crafted sctpaccept call.

— Launchpad

Affected Software

32 affected componentsFixes available
Linux Linux kernel<4.3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
ubuntu/linux<3.13.0-96.143
3.13.0-96.143
ubuntu/linux-lts-utopic<3.16.0-67.87~14.04.1
3.16.0-67.87~14.04.1
ubuntu/linux-lts-vivid<3.19.0-56.62~14.04.1
3.19.0-56.62~14.04.1
ubuntu/linux-lts-wily<4.2.0-34.39~14.04.1
4.2.0-34.39~14.04.1
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
debian/linux
3.2.73-2+deb7u33.16.7-ckt20-1+deb8u34.3.1-1
debian/linux-2.6
2.6.32-48squeeze19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.13.0-96.143
  2. Upgrade

    Upgrade ubuntu/linux-lts-utopic to a version that resolves this vulnerability.

    Fixed in 3.16.0-67.87~14.04.1
  3. Upgrade

    Upgrade ubuntu/linux-lts-vivid to a version that resolves this vulnerability.

    Fixed in 3.19.0-56.62~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux-lts-wily to a version that resolves this vulnerability.

    Fixed in 4.2.0-34.39~14.04.1
  5. Upgrade

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

    Fixed in 3.2.73-2+deb7u3Fixed in 3.16.7-ckt20-1+deb8u3Fixed in 4.3.1-1
  6. Upgrade

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

    Fixed in 2.6.32-48squeeze19
  7. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.3

Event History

Jan 11, 2016
Data Sourced
11:59 AM
DescriptionSeverityAffected Software
Feb 7, 2016
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Feb 8, 2016
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Aug 30, 2018
Data Sourced
04:53 PM
Weakness
Data Sourced
via NVD·04:53 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
04:53 PM
Affected Software
Feb 17, 2021
Data Sourced
via Red Hat·04:31 AM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·02:39 AM
RemedyAffected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:35 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2015-8767?

CVE-2015-8767 is a vulnerability in the Linux kernel that allows local users to cause a denial of service (deadlock) via a crafted sctp_accept call.

2

How severe is CVE-2015-8767?

CVE-2015-8767 has a severity level of medium.

3

Which software versions are affected by CVE-2015-8767?

The affected software versions include Linux kernel versions before 4.3.

4

How can I fix CVE-2015-8767?

To fix CVE-2015-8767, update your Linux kernel to version 4.3 or later.

5

Where can I find more information about CVE-2015-8767?

You can find more information about CVE-2015-8767 on the following references: [Link 1](https://patchwork.ozlabs.org/patch/522411/), [Link 2](https://patchwork.ozlabs.org/patch/522412/), [Link 3](https://kernel.googlesource.com/pub/scm/linux/kernel/git/horms/ipvs/+/635682a14427d241bab7bbdeebb48a7d7b91638e).

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