VDB-11706 · OSVDB 101608 · GCVE-100-11706

Linux Kernel up to 3.12.5 drivers/char/lp.c lp_do_ioctl memory corruption

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.
8.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in Linux Kernel up to 3.12.5. This affects the function lp_do_ioctl of the file drivers/char/lp.c. The manipulation results in memory corruption. There is not any exploit available. A patch should be applied to remediate this issue.

Detailsinfo

A vulnerability was found in Linux Kernel up to 3.12.5 (Operating System). It has been classified as critical. Affected is the function lp_do_ioctl of the file drivers/char/lp.c. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was released 12/19/2013 by Yongjian Xu as CVE request - kernel: char: Int overflow in lp_do_ioctl() as not defined mailinglist post (oss-sec). The advisory is available at seclists.org. The exploitability is told to be difficult. Local access is required to approach this attack. A authentication is required for exploitation. Technical details are known, but there is no available exploit. The reason for this vulnerability is this part of code:

LP_TIME(minor) = arg * HZ/100;

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

diff --git a/drivers/char/lp.c b/drivers/char/lp.c
index 0913d79..c4094c4 100644
--- a/drivers/char/lp.c
+++ b/drivers/char/lp.c
@@ -587,6 +587,8 @@ static int lp_do_ioctl(unsigned int minor, unsigned int cmd,
       return -ENODEV;
    switch ( cmd ) {
       case LPTIME:
+         if (arg > UINT_MAX / HZ)
+            return -EINVAL;
          LP_TIME(minor) = arg * HZ/100;
          break;
       case LPCHAR:

The vulnerability is also documented in the vulnerability database at OSVDB (101608†). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB Meta Temp Score: 8.4

VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: git.kernel.org

Timelineinfo

12/19/2013 🔍
12/19/2013 +0 days 🔍
01/03/2014 +15 days 🔍
03/24/2019 +1906 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: CVE request - kernel: char: Int overflow in lp_do_ioctl()
Researcher: Yongjian Xu
Status: Not defined

GCVE (VulDB): GCVE-100-11706
OSVDB: 101608

Entryinfo

Created: 01/03/2014 16:53
Updated: 03/24/2019 09:15
Changes: 01/03/2014 16:53 (47), 03/24/2019 09:15 (2)
Complete: 🔍
Cache ID: 216:7E0:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!