kernel: MIDI driver race condition leads to a double-free
Published Aug 21, 2018
7.8
HIGHCVSS 3.0
EPSS 0.52%
Description
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.
Affected products
No data.
Configuration 1
- 8.0
- 9.0
Configuration 2
- 12.04
- 14.04
- 16.04
- 18.04
Configuration 3
- n/a
Configuration 4
- 6.0
- 7.0
- 6.0
- 7.0
- 6.0
- 7.0
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-754.11.1.el6
Fixed · RHSA-2019:0415
Red Hat Enterprise Linux 7
kernel-0:3.10.0-957.el7
Fixed · RHSA-2018:3083
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-115.14.1.el7a
Fixed · RHSA-2019:3217
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-957.rt56.910.el7
Fixed · RHSA-2018:3096
Red Hat Enterprise Linux 7.5 Extended Update Support
kernel-0:3.10.0-862.44.2.el7
Fixed · RHSA-2019:3967
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.46.1.rt56.639.el6rt
Fixed · RHSA-2019:0641
Red Hat Enterprise Linux 5
kernel
Will not fix
Red Hat Enterprise Linux 8
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-754.11.1.el6 | Fixed | RHSA-2019:0415 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-957.el7 | Fixed | RHSA-2018:3083 |
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-115.14.1.el7a | Fixed | RHSA-2019:3217 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-957.rt56.910.el7 | Fixed | RHSA-2018:3096 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | kernel-0:3.10.0-862.44.2.el7 | Fixed | RHSA-2019:3967 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.46.1.rt56.639.el6rt | Fixed | RHSA-2019:0641 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.52% (0.00523) | 42.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.52% (0.00519) | 39.72th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.03% (0.00035) | 6.73th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 11.89th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.04% (0.00044) | 10.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.21% (0.02205) | 50.62th | v1 |
| Jan 6, 2022 | 2.21% (0.02205) | 50.12th | v1 |
| Sep 1, 2021 | 2.21% (0.02205) | 77.51th | v1 |
| Apr 14, 2021 | 2.21% (0.02205) | 0.00th | v1 |
References (23)
- http://www.securityfocus.com/bid/105119 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041529 vdb-entryx_refsource_SECTRACKPatchThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:3083 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3096 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0415 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0641 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3217 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:3967 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-10902 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1590720 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10902 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39675f7a7c7e7702f7d5341f1e0d01db746543a0 x_refsource_MISCPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/10/msg00003.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-10902
- https://usn.ubuntu.com/3776-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3776-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3847-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3847-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3847-3/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3849-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3849-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-10902
- https://www.debian.org/security/2018/dsa-4308 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.