CVE-2018-10902 json
It was found that the raw midi kernel driver does not protect against concurrent access which leads to a double realloc (double free) in sn…
published 2018-08-21 8 y ago modified 2026-07-07 4 mo ago also EUVD-2018-2959
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.18
- linux Debian 14, Debian 13, Debian 12 4.17.15-1
debian advisories DEBIAN-CVE-2018-10902
- linux Ubuntu 14.04 LTS 3.13.0-164.214
- linux Ubuntu 16.04 LTS 4.4.0-137.163
- linux Ubuntu 18.04 LTS 4.15.0-43.46
- linux-aws Ubuntu 14.04 LTS 4.4.0-1031.34
- linux-aws Ubuntu 16.04 LTS 4.4.0-1069.79
- linux-aws Ubuntu 18.04 LTS 4.15.0-1031.33
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1026.27~16.04.1
- linux-gcp Ubuntu 18.04 LTS 4.15.0-1026.27
ubuntu advisories UBUNTU-CVE-2018-10902
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-alt RHEL 7 4.14.0-115.14.1.el7a
- perf RHEL 7 4.14.0-115.14.1.el7a
- kernel RHEL 7 4.14.0-115.14.1.el7a
- python-perf RHEL 7 4.14.0-115.14.1.el7a
- kernel-tools RHEL 7 4.14.0-115.14.1.el7a
- kernel-tools-libs RHEL 7 4.14.0-115.14.1.el7a
- kernel-bootwrapper RHEL 7 4.14.0-115.14.1.el7a
- kernel-abi-whitelists RHEL 7 4.14.0-115.14.1.el7a
red hat advisories RHSA-2019:3217RHSA-2019:3967RHSA-2018:3096RHSA-2018:3083RHSA-2019:0415RHSA-2019:0641
- kernel-syms SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 4.4.180-94.138.1
- kernel-source SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 4.4.180-94.138.1
- kernel-default SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +5 more 4.4.180-94.138.1
- kgraft-patch-SLE12-SP3_Update_37 SLES for SAP 12 SP3, SLES 12 SP3-LTSS, OpenStack Cloud Crowbar 8 +3 more 1-4.3.1
- kernel-azure SLE Module for Public Cloud 15 4.12.14-5.16.1
- kernel-syms-azure SLE Module for Public Cloud 15 4.12.14-5.16.1
- kernel-source-azure SLE Module for Public Cloud 15 4.12.14-5.16.1
- kernel-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.95.1
suse advisories SUSE-SU-2021:0452-1SUSE-SU-2018:2908-2SUSE-SU-2018:3961-1SUSE-SU-2018:3084-1SUSE-SU-2018:3088-1SUSE-SU-2018:3083-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-10902 updated cvss 7.8
kernel: MIDI driver race condition leads to a double-free
-
Red Hat Enterprise Linux 5 kernelaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, kernel-tools-libs 3.10.0-957.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-957.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, kernel-tools-libs 3.10.0-957.el7, +2 morefixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) perf 3.10.0-862.44.2.el7, kernel 3.10.0-862.44.2.el7, python-perf 3.10.0-862.44.2.el7, kernel-tools 3.10.0-862.44.2.el7, kernel-tools-libs 3.10.0-862.44.2.el7, kernel-abi-whitelists 3.10.0-862.44.2.el7, +1 morefixed: vendor fix RHSA-2019:3967
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-957.el7fixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) kernel-debuginfo-common-x86_64 3.10.0-862.44.2.el7fixed: vendor fix RHSA-2019:3967
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-754.11.1.el6, kernel 2.6.32-754.11.1.el6, kernel-firmware 2.6.32-754.11.1.el6, kernel-abi-whitelists 2.6.32-754.11.1.el6, kernel-debuginfo-common-i686 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-754.11.1.el6, kernel-debuginfo-common-i686 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6fixed: vendor fix RHSA-2019:0415
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, perf 4.14.0-115.14.1.el7a, python-perf 3.10.0-957.el7, kernel 4.14.0-115.14.1.el7a, kernel-kdump 3.10.0-957.el7, +13 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-ppc64le 3.10.0-957.el7, kernel-debuginfo-common-ppc64le 4.14.0-115.14.1.el7afixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-957.rt56.910.el7, kernel-rt-trace 3.10.0-957.rt56.910.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-957.rt56.910.el7, kernel-rt-kvm 3.10.0-957.rt56.910.el7, kernel-rt-trace 3.10.0-957.rt56.910.el7, kernel-rt-debug-kvm 3.10.0-957.rt56.910.el7, kernel-rt-trace-kvm 3.10.0-957.rt56.910.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-957.rt56.910.el7fixed: vendor fix RHSA-2018:3096
show 12 moreshow fewer
-
Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-754.11.1.el6, kernel 2.6.32-754.11.1.el6, kernel-firmware 2.6.32-754.11.1.el6, kernel-abi-whitelists 2.6.32-754.11.1.el6, kernel-debuginfo-common-i686 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-754.11.1.el6, kernel 2.6.32-754.11.1.el6, kernel-kdump 2.6.32-754.11.1.el6, kernel-firmware 2.6.32-754.11.1.el6, kernel-bootwrapper 2.6.32-754.11.1.el6, kernel-abi-whitelists 2.6.32-754.11.1.el6, +4 morefixed: vendor fix RHSA-2019:0415
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-kdump 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, +7 morefixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux Server EUS (v. 7.5) perf 3.10.0-862.44.2.el7, kernel 3.10.0-862.44.2.el7, python-perf 3.10.0-862.44.2.el7, kernel-kdump 3.10.0-862.44.2.el7, kernel-tools 3.10.0-862.44.2.el7, kernel-tools-libs 3.10.0-862.44.2.el7, +6 morefixed: vendor fix RHSA-2019:3967
-
Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-754.11.1.el6, kernel-debuginfo-common-i686 2.6.32-754.11.1.el6, kernel-debuginfo-common-ppc64 2.6.32-754.11.1.el6, kernel-debuginfo-common-s390x 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6fixed: vendor fix RHSA-2019:0415
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-957.el7, kernel-debuginfo-common-x86_64 3.10.0-957.el7, kernel-debuginfo-common-ppc64le 3.10.0-957.el7fixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.5) kernel-debuginfo-common-ppc64 3.10.0-862.44.2.el7, kernel-debuginfo-common-x86_64 3.10.0-862.44.2.el7, kernel-debuginfo-common-ppc64le 3.10.0-862.44.2.el7fixed: vendor fix RHSA-2019:3967
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-754.11.1.el6, kernel 2.6.32-754.11.1.el6, kernel-firmware 2.6.32-754.11.1.el6, kernel-abi-whitelists 2.6.32-754.11.1.el6, kernel-debuginfo-common-i686 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6fixed: vendor fix RHSA-2019:0415
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, kernel-tools-libs 3.10.0-957.el7, +2 morefixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-754.11.1.el6, kernel-debuginfo-common-i686 2.6.32-754.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.11.1.el6fixed: vendor fix RHSA-2019:0415
-
Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-957.el7fixed: vendor fix RHSA-2018:3083
-
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-693.46.1.rt56.639.el6rt, kernel-rt-trace 3.10.0-693.46.1.rt56.639.el6rt, kernel-rt-vanilla 3.10.0-693.46.1.rt56.639.el6rt, kernel-rt-firmware 3.10.0-693.46.1.rt56.639.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-693.46.1.rt56.639.el6rtfixed: vendor fix RHSA-2019:0641
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise Linux Client (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux ComputeNode (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux Server (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux Workstation (v. 7) kernel-headers 3.10.0-957.el7not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Linux Linux
Classification
- Weakness
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39675f7a7c7e7702f7d5341f1e0d01db746543a0
patch, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-10902
issue-tracking, patch, third-party-advisory
-
securitytracker.com
/id/1041529
vdb-entry, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3083
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3776-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3776-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3847-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3847-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3849-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0415
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3849-2/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4308
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3847-3/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3096
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0641
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3217
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:3967
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/10/msg00003.html
mailing-list, third-party-advisory
-
securityfocus.com
/bid/105119
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-10902
- NVD CVE-2018-10902
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.