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

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
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.5VulDB 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: 🔍
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: Null pointer dereferenceCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: cgit.freedesktop.org
Timeline
05/14/2019 🔍05/24/2019 🔍
05/24/2019 🔍
05/27/2019 🔍
05/28/2019 🔍
08/05/2024 🔍
Sources
Vendor: kernel.orgAdvisory: 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: 🔍
Entry
Created: 05/28/2019 10:04Updated: 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.
No comments yet. Languages: en.
Please log in to comment.