Linux Kernel MIDI Kernel Driver rawmidi.c snd_rawmidi_input_params double free

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

Summaryinfo

A vulnerability described as problematic has been identified in Linux Kernel. Affected is the function snd_rawmidi_input_params of the file rawmidi.c of the component MIDI Kernel Driver. Executing a manipulation can lead to double free. This vulnerability is registered as CVE-2018-10902. The attack needs to be launched locally. No exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel (Operating System) (unknown version). It has been declared as problematic. This vulnerability affects the function snd_rawmidi_input_params of the file rawmidi.c of the component MIDI Kernel Driver. The manipulation with an unknown input leads to a double free vulnerability. The CWE definition for the vulnerability is CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

It was found that the raw midi kernel driver does not protect against concurrent access which leads to a double realloc (double free) in snd_rawmidi_input_params() and snd_rawmidi_output_status() which are part of snd_rawmidi_ioctl() handler in rawmidi.c file. A malicious local attacker could possibly use this for privilege escalation.

The bug was discovered 08/21/2018. The weakness was published 08/21/2018 with Zero Day Initiative as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2018-10902 since 05/09/2018. The attack needs to be approached locally. The requirement for exploitation is a single authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 117523 (openSUSE Security Update : the Linux Kernel (openSUSE-2018-1016)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157849 (Oracle Enterprise Linux Security Update for kernel (ELSA-2018-3083)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (117523) and SecurityFocus (BID 105119†). Similar entries are available at VDB-81153, VDB-87616, VDB-105605 and VDB-109511. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.9

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

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 7.8
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Double free
CWE: CWE-415 / CWE-119
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

Nessus ID: 117523
Nessus Name: openSUSE Security Update : the Linux Kernel (openSUSE-2018-1016)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: git.kernel.org

Timelineinfo

05/09/2018 🔍
08/21/2018 +104 days 🔍
08/21/2018 +0 days 🔍
08/21/2018 +0 days 🔍
08/21/2018 +0 days 🔍
08/22/2018 +1 days 🔍
09/16/2018 +25 days 🔍
09/17/2018 +1 days 🔍
05/04/2023 +1690 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2018:3083
Organization: Zero Day Initiative
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-10902 (🔍)
GCVE (CVE): GCVE-0-2018-10902
GCVE (VulDB): GCVE-100-123100

OVAL: 🔍

SecurityFocus: 105119 - Linux Kernel CVE-2018-10902 Multiple Local Privilege Escalation Vulnerabilities
SecurityTracker: 1041529

See also: 🔍

Entryinfo

Created: 08/22/2018 06:55
Updated: 05/04/2023 08:04
Changes: 08/22/2018 06:55 (77), 03/17/2020 10:16 (7), 05/04/2023 07:58 (6), 05/04/2023 08:04 (12)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!