Linux Kernel up to 4.11 fs/f2fs/node.c add_free_nid race condition

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.6 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Linux Kernel up to 4.11 and classified as critical. This vulnerability affects the function add_free_nid of the file fs/f2fs/node.c. Performing a manipulation results in race condition.
This vulnerability is identified as CVE-2017-18249. The attack is only possible with local access. There is not any exploit available.
The affected component should be upgraded.
Details
A vulnerability, which was classified as critical, was found in Linux Kernel up to 4.11 (Operating System). This affects the function add_free_nid of the file fs/f2fs/node.c. 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 confidentiality, integrity, and availability. The summary by CVE is:
The add_free_nid function in fs/f2fs/node.c in the Linux kernel before 4.12 does not properly track an allocated nid, which allows local users to cause a denial of service (race condition) or possibly have unspecified other impact via concurrent threads.
The bug was discovered 03/24/2018. The weakness was released 03/26/2018 (Website). The advisory is shared at git.kernel.org. This vulnerability is uniquely identified as CVE-2017-18249 since 03/26/2018. An attack has to be approached locally. A authentication is necessary for exploitation. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110658 (openSUSE Security Update : the Linux Kernel (openSUSE-2018-656) (Spectre)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176702 (Debian Security Update for linux-4.9 (DLA 1715-1)).
Upgrading to version 4.12 eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (110658) and SecurityFocus (BID 107127†). Entries connected to this vulnerability are available at VDB-119428, VDB-120148, VDB-122246 and VDB-130385. Several companies clearly confirm that VulDB is the primary source for best 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: 5.7VulDB Meta Temp Score: 5.6
VulDB Base Score: 4.4
VulDB Temp Score: 4.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.0
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: No
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: 110658
Nessus Name: openSUSE Security Update : the Linux Kernel (openSUSE-2018-656) (Spectre)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 4.12
Patch: git.kernel.org
Timeline
03/24/2018 🔍03/26/2018 🔍
03/26/2018 🔍
03/26/2018 🔍
03/27/2018 🔍
06/21/2018 🔍
06/22/2018 🔍
02/15/2019 🔍
02/24/2023 🔍
Sources
Vendor: kernel.orgAdvisory: 30a61ddf8117c26ac5b295e1233eaa9629a94ca3
Status: Confirmed
CVE: CVE-2017-18249 (🔍)
GCVE (CVE): GCVE-0-2017-18249
GCVE (VulDB): GCVE-100-115041
SecurityFocus: 107127 - Linux Kernel CVE-2019-6974 Security Bypass Vulnerability
SecurityTracker: 1041432
See also: 🔍
Entry
Created: 03/27/2018 09:17Updated: 02/24/2023 09:19
Changes: 03/27/2018 09:17 (79), 01/16/2020 19:18 (4), 02/24/2023 09:18 (6), 02/24/2023 09:19 (1)
Complete: 🔍
Cache ID: 216:121:103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.