VDB-135656 · CVE-2019-12382 · BID 108488

Linux Kernel up to 5.1.5 drm_edid_load.c drm_load_edid_firmware null pointer dereference ⚔ [Disputed]

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

Summaryinfo

A vulnerability labeled as critical has been found in Linux Kernel up to 5.1.5. This issue affects the function drm_load_edid_firmware of the file drivers/gpu/drm/drm_edid_load.c. Such manipulation leads to null pointer dereference. This vulnerability is documented as CVE-2019-12382. The attack needs to be performed locally. There is not any exploit available. The presence of this vulnerability remains uncertain at this time. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.1.5 (Operating System). It has been rated as critical. Affected by this issue is the function drm_load_edid_firmware of the file drivers/gpu/drm/drm_edid_load.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. Using CWE to declare the problem leads to CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. Impacted is availability. CVE summarizes:

An issue was discovered in drm_load_edid_firmware in drivers/gpu/drm/drm_edid_load.c in the Linux kernel through 5.1.5. There is an unchecked kstrdup of fwstr, which might allow an attacker to cause a denial of service (NULL pointer dereference and system crash).

The weakness was released 05/24/2019 (Website). The advisory is shared for download at lkml.org. This vulnerability is handled as CVE-2019-12382 since 05/27/2019. The exploitation is known to be easy. The attack needs to be approached locally. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The following code is the reason for this vulnerability:

fwstr = kstrdup(edid_firmware, GFP_KERNEL);
 	edidstr = fwstr;
 
 	while ((edidname = strsep(&edidstr, ","))) {

The real existence of this vulnerability is still doubted at the moment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 172481 (SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2019:1527-1) (Sad SACK)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at cgit.freedesktop.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:

fwstr = kstrdup(edid_firmware, GFP_KERNEL);
	if (!fwstr)
		return ERR_PTR(-ENOMEM);
 	edidstr = fwstr;
 
 	while ((edidname = strsep(&edidstr, ","))) {

The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 108488†). Entries connected to this vulnerability are available at VDB-10289, VDB-132474, VDB-133999 and VDB-135170. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CNA Base Score: 5.5
CNA Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Patch: cgit.freedesktop.org

Timelineinfo

05/14/2019 🔍
05/24/2019 +10 days 🔍
05/24/2019 +0 days 🔍
05/27/2019 +3 days 🔍
05/28/2019 +1 days 🔍
08/05/2024 +1896 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: FEDORA-2019-7ec378191e
Status: Confirmed
Disputed: 🔍

CVE: CVE-2019-12382 (🔍)
GCVE (CVE): GCVE-0-2019-12382
GCVE (VulDB): GCVE-100-135656
SecurityFocus: 108488 - Linux Kernel CVE-2019-11085 Local Privilege Escalation Vulnerability

See also: 🔍

Entryinfo

Created: 05/28/2019 10:04
Updated: 08/05/2024 02:31
Changes: 05/28/2019 10:04 (68), 06/16/2020 18:15 (2), 09/24/2023 14:44 (4), 08/05/2024 02:31 (26)
Complete: 🔍
Cache ID: 216:737:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!