Linux Kernel PIT Emulation arch/x86/kvm/i8254.c __kvm_migrate_pit_timer race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.9$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Linux Kernel. Affected by this issue is the function __kvm_migrate_pit_timer of the file arch/x86/kvm/i8254.c of the component PIT Emulation Handler. The manipulation leads to race condition. This vulnerability is traded as CVE-2014-3611. There is no exploit available. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in Linux Kernel (Operating System) (affected version unknown). This issue affects the function __kvm_migrate_pit_timer of the file arch/x86/kvm/i8254.c of the component PIT Emulation Handler. The manipulation with an unknown input leads to a race condition vulnerability. Using CWE to declare the problem leads to 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. Impacted is availability. The summary by CVE is:

Race condition in the __kvm_migrate_pit_timer function in arch/x86/kvm/i8254.c in the KVM subsystem in the Linux kernel through 3.17.2 allows guest OS users to cause a denial of service (host OS crash) by leveraging incorrect PIT emulation.

The weakness was shared 10/24/2014 by Lars Bull with Google as Bug 1144878 as confirmed bug report (Bugzilla). The advisory is shared at bugzilla.redhat.com. The identification of this vulnerability is CVE-2014-3611 since 05/14/2014. The exploitation is known to be easy. The attack can only be done within the local network. The successful exploitation needs a simple authentication. Technical details are known, but no exploit is available. The following code is the reason for this vulnerability:

timer = &pit->pit_state.timer;
if (hrtimer_cancel(timer))
   hrtimer_start_expires(timer, HRTIMER_MODE_ABS);

The vulnerability scanner Nessus provides a plugin with the ID 78702 (CentOS 7 : kernel (CESA-2014:1724)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195790 (Ubuntu Security Notification for Linux Vulnerabilities (USN-2462-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The vulnerability will be addressed with the following lines of code:

timer = &pit->pit_state.timer;
mutex_lock(&pit->pit_state.lock);
if (hrtimer_cancel(timer))
   hrtimer_start_expires(timer, HRTIMER_MODE_ABS);
mutex_unlock(&pit->pit_state.lock);

The vulnerability is also documented in the databases at X-Force (97774), Tenable (78702), SecurityFocus (BID 70743†), SecurityTracker (ID 1031200†) and Vulnerability Center (SBV-46807†). The entries VDB-67304, VDB-68067 and VDB-68068 are related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Red Hat Linux 5/6/7

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.2
VulDB Meta Temp Score: 4.9

VulDB Base Score: 5.7
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 4.7
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 78702
Nessus Name: CentOS 7 : kernel (CESA-2014:1724)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 703060
OpenVAS Name: Debian Security Advisory DSA 3060-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 2febc839133280d5a5e8e1179c94ea674489dae2

Timelineinfo

05/14/2014 🔍
10/24/2014 +163 days 🔍
10/24/2014 +0 days 🔍
10/24/2014 +0 days 🔍
10/28/2014 +4 days 🔍
10/28/2014 +0 days 🔍
10/29/2014 +1 days 🔍
11/10/2014 +12 days 🔍
11/12/2014 +2 days 🔍
02/23/2022 +2660 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: Bug 1144878
Researcher: Lars Bull
Organization: Google
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-3611 (🔍)
GCVE (CVE): GCVE-0-2014-3611
GCVE (VulDB): GCVE-100-68069

OVAL: 🔍

X-Force: 97774 - Linux Kernel PIT emulation denial of service, Medium Risk
SecurityFocus: 70743 - Linux Kernel KVM CVE-2014-3611 Denial of Service Vulnerability
SecurityTracker: 1031200 - Linux Kernel KVM PIT Timer Race Condition Lets Local Guest Users Deny Service on the Host System
Vulnerability Center: 46807 - Linux Kernel 3.2 and earlier Local DoS via KVM \x27asm/kvm_host.h\x27 - CVE-2014-3611, Medium

See also: 🔍

Entryinfo

Created: 10/28/2014 14:59
Updated: 02/23/2022 19:30
Changes: 10/28/2014 14:59 (91), 06/10/2017 09:40 (1), 02/23/2022 19:15 (3), 02/23/2022 19:22 (11), 02/23/2022 19:30 (1)
Complete: 🔍
Cache ID: 216:0A1:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!