Public Date:
1590720: CVE-2018-10902 kernel: MIDI driver race condition leads to a double-free
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.

Find out more about CVE-2018-10902 from the MITRE CVE dictionary dictionary and NIST NVD.


This flaw affects all current shipping releases of Red Hat Enterprise Linux. This flaw requires real or emulated midi hardware available in the system. Fixes will be delivered when available.

CVSS v3 metrics

CVSS3 Base Score 7.8
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 6 (kernel) RHSA-2019:0415 2019-02-26
Red Hat MRG Grid for RHEL 6 Server v.2 (kernel-rt) RHSA-2019:0641 2019-03-26
Red Hat Enterprise Linux for Real Time for NFV (v. 7) (kernel-rt) RHSA-2018:3096 2018-10-30
Red Hat Enterprise Linux 7 (kernel) RHSA-2018:3083 2018-10-30

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 7 kernel-alt Affected
Red Hat Enterprise Linux 5 kernel Will not fix


Red Hat would like to thank Trend Micro Zero Day Initiative for reporting this issue.
Last Modified