Linux Kernel up to 4.9.10 Multithreading net/sctp/socket.c sctp_wait_for_sndbuf race condition

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.5 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in Linux Kernel up to 4.9.10. This affects the function sctp_wait_for_sndbuf of the file net/sctp/socket.c of the component Multithreading. The manipulation results in race condition.
This vulnerability is identified as CVE-2017-5986. The attack is only possible with local access. There is not any exploit available.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability was found in Linux Kernel up to 4.9.10 (Operating System). It has been classified as problematic. Affected is the function sctp_wait_for_sndbuf of the file net/sctp/socket.c of the component Multithreading. The manipulation with an unknown input leads to a race condition vulnerability. CWE is classifying the issue as CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. This is going to have an impact on availability. CVE summarizes:
Race condition in the sctp_wait_for_sndbuf 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.
The bug was discovered 02/14/2017. The weakness was released 02/18/2017 by Alex (oss-sec). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2017-5986 since 02/14/2017. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 97182 (Fedora 25 : kernel (2017-fb89ca752a)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276453 (Fedora Security Update for kernel (FEDORA-2017-fb89ca752a)).
Upgrading to version 4.9.11 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (97182) and SecurityFocus (BID 96222†). Entries connected to this vulnerability are available at VDB-97118 and VDB-97117. Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.7VulDB Meta Temp Score: 4.6
VulDB Base Score: 4.0
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Race conditionCWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 97182
Nessus Name: Fedora 25 : kernel (2017-fb89ca752a)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 900211
OpenVAS Name: SuSE Update for Linux Kernel openSUSE-SU-2017:0547-1 (Linux Kernel)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 4.9.11
Patch: git.kernel.org
Timeline
02/14/2017 🔍02/14/2017 🔍
02/14/2017 🔍
02/14/2017 🔍
02/15/2017 🔍
02/18/2017 🔍
02/18/2017 🔍
02/19/2017 🔍
08/16/2020 🔍
Sources
Vendor: kernel.orgAdvisory: openwall.com
Researcher: Alex
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-5986 (🔍)
GCVE (CVE): GCVE-0-2017-5986
GCVE (VulDB): GCVE-100-97116
OVAL: 🔍
SecurityFocus: 96222 - Linux Kernel 'net/sctp/socket.c' Local Denial of Service Vulnerability
OSVDB: - CVE-2017-5986 - Linux - Denial of Service Issue
See also: 🔍
Entry
Created: 02/19/2017 09:30Updated: 08/16/2020 16:04
Changes: 02/19/2017 09:30 (80), 08/16/2020 16:04 (6)
Complete: 🔍
Cache ID: 216:BA7:103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.