Linux Kernel 3.0.36/3.2.22/3.4.4 mm/madvise.c madvise_remove race condition

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in Linux Kernel 3.0.36/3.2.22/3.4.4. Affected by this vulnerability is the function madvise_remove of the file mm/madvise.c. Executing a manipulation can lead to race condition.
This vulnerability appears as CVE-2012-3511. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Linux Kernel 3.0.36/3.2.22/3.4.4 (Operating System). It has been declared as problematic. This vulnerability affects the function madvise_remove of the file mm/madvise.c. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect availability. CVE summarizes:
Multiple race conditions in the madvise_remove function in mm/madvise.c in the Linux kernel before 3.4.5 allow local users to cause a denial of service (use-after-free and system crash) via vectors involving a (1) munmap or (2) close system call.
The weakness was presented 07/06/2012 by Andy Lutomirski as confirmed git commit (GIT Repository). The advisory is shared for download at git.kernel.org. The public release was coordinated in cooperation with the vendor. This vulnerability was named CVE-2012-3511 since 06/14/2012. The exploitation appears to be easy. The attack needs to be approached locally. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 70163 (RHEL 5 : kernel (RHSA-2013:1292)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166783 (SUSE Enterprise Linux Security Update for Linux Kernel (SUSE-SU-2014:0287-1)).
Upgrading to version 3.0.37, 3.2.23 or 3.4.5 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 upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (70163), SecurityFocus (BID 55151†), OSVDB (84904†), Secunia (SA50310†) and Vulnerability Center (SBV-37493†). Additional details are provided at bugzilla.redhat.com. See VDB-5386, VDB-5571, VDB-5582 and VDB-5656 for similar entries. 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: 6.2VulDB Meta Temp Score: 5.9
VulDB Base Score: 6.2
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: 70163
Nessus Name: RHEL 5 : kernel (RHSA-2013:1292)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 881535
OpenVAS Name: CentOS Update for kernel CESA-2012:1426 centos6
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 3.0.37/3.2.23/3.4.5
Patch: git.kernel.org
Timeline
06/14/2012 🔍07/06/2012 🔍
07/06/2012 🔍
08/20/2012 🔍
08/20/2012 🔍
08/22/2012 🔍
08/22/2012 🔍
08/30/2012 🔍
10/03/2012 🔍
12/03/2012 🔍
09/27/2013 🔍
03/27/2021 🔍
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Researcher: Andy Lutomirski
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2012-3511 (🔍)
GCVE (CVE): GCVE-0-2012-3511
GCVE (VulDB): GCVE-100-6028
OVAL: 🔍
SecurityFocus: 55151 - Linux Kernel 'madvise_remove()' Function Local Denial of Service Vulnerability
Secunia: 50310 - Linux Kernel "madvise_remove()" Use-After-Free Vulnerability, Not Critical
OSVDB: 84904
Vulnerability Center: 37493 - Linux Kernel <3.4.5 'madvise_remove\x27 Function Multiple Race Conditions Allow Local DoS, Medium
Misc.: 🔍
See also: 🔍
Entry
Created: 08/30/2012 17:33Updated: 03/27/2021 14:29
Changes: 08/30/2012 17:33 (86), 04/22/2017 09:18 (4), 03/27/2021 14:29 (3)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.