CVE-2018-10902: Use After Free

Published Jun 13, 2018
·
Updated

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

Other sources

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

Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39675f7a7c7e7702f7d5341f1e0d01db746543a0

Red Hat

Affected Software

14 affected componentsFixes available
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Linux Linux kernel
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
debian/linux
6.1.176-16.1.180-16.12.94-16.12.107-17.1.12-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.107-1Fixed in 7.1.12-1Fixed in 7.1.13-1

Event History

Jun 13, 2018
Data Sourced
via Red Hat·09:24 AM
DescriptionSeverityAffected Software
Aug 21, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:03 AM
RemedyDescriptionSeverityAffected Software
Sep 6, 2026
Data Sourced
via Debian·12:38 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-10902?

The severity of CVE-2018-10902 is classified as medium due to the potential for local attackers to exploit the vulnerability.

2

How do I fix CVE-2018-10902?

To fix CVE-2018-10902, update your kernel to the latest available version, specifically versions such as 5.10.223-1 or 6.1.123-1 depending on your distribution.

3

What versions are affected by CVE-2018-10902?

CVE-2018-10902 affects specific versions of Debian, Ubuntu, Red Hat Enterprise Linux, and the Linux Kernel.

4

What type of attack does CVE-2018-10902 facilitate?

CVE-2018-10902 facilitates local privilege escalation attacks due to inadequate protection against concurrent access.

5

Is CVE-2018-10902 present in the latest kernel versions?

CVE-2018-10902 has been addressed in kernel updates released after its discovery, so ensure your system is running an updated kernel version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203