CVE-2018-10902

Summary

CVECVE-2018-10902
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-08-21 19:29:00 UTC
Updated2023-02-12 23:31:00 UTC
DescriptionIt 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.

Risk And Classification

Problem Types: CWE-416

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Linux Linux Kernel - All All All
Operating System Linux Linux Kernel - All All All
Operating System Redhat Enterprise Linux Desktop 6.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Desktop 6.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Server 6.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server 6.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 6.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 6.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 1531-1] linux-4.9 security update MLIST lists.debian.org Mailing List, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com
1590720 – (CVE-2018-10902) CVE-2018-10902 kernel: MIDI driver race condition leads to a double-free CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
USN-3847-3: Linux kernel (Azure) vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree MISC git.kernel.org Patch, Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
CVE-2018-10902 - Red Hat Customer Portal MISC access.redhat.com
Malformed Request BID www.securityfocus.com Third Party Advisory, VDB Entry
USN-3776-2: Linux kernel (Xenial HWE) vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
USN-3776-1: Linux kernel vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Linux Kernel Double-Free Memory Error in MIDI Driver Lets Local Users Gain Elevated Privileges - SecurityTracker SECTRACK www.securitytracker.com Patch, Third Party Advisory, VDB Entry
USN-3847-1: Linux kernel vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
USN-3849-2: Linux kernel (Trusty HWE) vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com
Debian -- Security Information -- DSA-4308-1 linux DEBIAN www.debian.org Third Party Advisory
1590720 – (CVE-2018-10902) CVE-2018-10902 kernel: MIDI driver race condition leads to a double-free MISC bugzilla.redhat.com
USN-3847-2: Linux kernel (HWE) vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
USN-3849-1: Linux kernel vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 670269 EulerOS Security Update for kernel (EulerOS-SA-2021-1808)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report