{"id":"CVE-2018-10902","details":"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.","modified":"2026-03-15T22:17:11.526605Z","published":"2018-08-21T19:29:00.220Z","related":["CGA-rfmm-9mcq-93ch","SUSE-SU-2018:2538-1","SUSE-SU-2018:2539-1","SUSE-SU-2018:2775-1","SUSE-SU-2018:2776-1","SUSE-SU-2018:2787-1","SUSE-SU-2018:2858-1","SUSE-SU-2018:2860-1","SUSE-SU-2018:2862-1","SUSE-SU-2018:2864-1","SUSE-SU-2018:2879-1","SUSE-SU-2018:2907-1","SUSE-SU-2018:2908-1","SUSE-SU-2018:2908-2","SUSE-SU-2018:2940-1","SUSE-SU-2018:2960-1","SUSE-SU-2018:2961-1","SUSE-SU-2018:2962-1","SUSE-SU-2018:2963-1","SUSE-SU-2018:3029-1","SUSE-SU-2018:3083-1","SUSE-SU-2018:3084-1","SUSE-SU-2018:3088-1","SUSE-SU-2018:3961-1","SUSE-SU-2021:0452-1"],"references":[{"type":"ADVISORY","url":"https://usn.ubuntu.com/3849-2/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3096"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0415"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/10/msg00003.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3847-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3847-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4308"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0641"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3967"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3776-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3776-2/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3847-3/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3849-1/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/105119"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3083"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3217"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10902"},{"type":"FIX","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39675f7a7c7e7702f7d5341f1e0d01db746543a0"},{"type":"FIX","url":"http://www.securitytracker.com/id/1041529"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10902.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}