Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1590720 - (CVE-2018-10902) CVE-2018-10902 kernel: MIDI driver race condition leads to a double-free
CVE-2018-10902 kernel: MIDI driver race condition leads to a double-free
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20180821:0328...
: Security
Depends On: 1593083 1593085 1593086 1620292 1593082 1593084 1593087 1593088 1593089 1593090 1620291
Blocks: 1590715
  Show dependency treegraph
 
Reported: 2018-06-13 05:24 EDT by Andrej Nemec
Modified: 2018-10-30 03:40 EDT (History)
47 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3083 None None None 2018-10-30 03:34 EDT
Red Hat Product Errata RHSA-2018:3096 None None None 2018-10-30 03:40 EDT

  None (edit)
Description Andrej Nemec 2018-06-13 05:24:54 EDT
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.

Upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39675f7a7c7e7702f7d5341f1e0d01db746543a0
Comment 7 Vladis Dronov 2018-08-22 17:53:54 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1620291]
Comment 9 Justin M. Forbes 2018-08-23 07:55:57 EDT
This was fixed for Fedora users with the 4.17.10 stable kernel update
Comment 10 Wade Mealing 2018-09-11 00:07:52 EDT
Statement:

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.
Comment 11 Petr Matousek 2018-10-17 08:40:52 EDT
Acknowledgments:

Name: Trend Micro Zero Day Initiative
Comment 12 errata-xmlrpc 2018-10-30 03:34:04 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3083 https://access.redhat.com/errata/RHSA-2018:3083
Comment 13 errata-xmlrpc 2018-10-30 03:40:16 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3096 https://access.redhat.com/errata/RHSA-2018:3096

Note You need to log in before you can comment on or make changes to this bug.