cve.bz

CVE-2018-10902 Use After Free

7.8 highEPSS 0.5%Fix available

High (7.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-416 Use After Free
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10902 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10902?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10902?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10902 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductRelease lineFixed in
Linux3.163.16.58
Linux3.183.18.117
Linux4.44.4.144
Linux4.94.9.115
Linux4.144.14.100
Linux4.174.17.10
Linuxlater releases4.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.59-1DLA-1529-1
Debian8linux-4.94.9.110-3+deb9u5~deb8u1DLA-1531-1
Debian9linux4.9.110-3+deb9u5DSA-4308-1
Debian12, 13, 14linux4.17.15-1DEBIAN-CVE-2018-10902
Ubuntu14.04:LTSlinux3.13.0-164.214UBUNTU-CVE-2018-10902 USN-3849-1
Ubuntu14.04:LTSlinux-aws4.4.0-1031.34UBUNTU-CVE-2018-10902 USN-3776-2
Ubuntu14.04:LTSlinux-azure4.15.0-1036.38~14.04.2UBUNTU-CVE-2018-10902 USN-3847-3
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-137.163~14.04.1UBUNTU-CVE-2018-10902 USN-3776-2
Ubuntu16.04:LTSlinux4.4.0-137.163UBUNTU-CVE-2018-10902 USN-3776-1
Ubuntu16.04:LTSlinux-aws4.4.0-1069.79UBUNTU-CVE-2018-10902 USN-3776-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1031.33~16.04.1USN-3847-2
Ubuntu16.04:LTSlinux-azure4.15.0-1036.38~16.04.1UBUNTU-CVE-2018-10902 USN-3847-2
Ubuntu16.04:LTSlinux-gcp4.15.0-1026.27~16.04.1UBUNTU-CVE-2018-10902 USN-3847-2
Ubuntu16.04:LTSlinux-hwe4.15.0-43.46~16.04.1UBUNTU-CVE-2018-10902 USN-3847-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1035.41UBUNTU-CVE-2018-10902 USN-3776-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1098.106UBUNTU-CVE-2018-10902 USN-3776-1
12 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::workstationperf, kernel, kernel-doc and 13 more0:2.6.32-754.11.1.el6RHSA-2019:0415
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 19 more0:2.6.32-754.11.1.el6RHSA-2019:0415
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 15 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 22 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 16 more0:4.14.0-115.14.1.el7aRHSA-2019:3217
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.46.1.rt56.639.el6rtRHSA-2019:0641
Red Hatrhel_eus:7.5::computenodeperf, kernel, kernel-doc and 15 more0:3.10.0-862.44.2.el7RHSA-2019:3967
Red Hatrhel_eus:7.5::serverperf, kernel, kernel-doc and 22 more0:3.10.0-862.44.2.el7RHSA-2019:3967
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.rt56.910.el7RHSA-2018:3096
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 morekernel-syms, kernel-source, kernel-default4.4.121-92.95.1SUSE-SU-2018:3084-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 morelttng-modules2.7.1-9.6.1SUSE-SU-2018:3084-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_251-3.4.1SUSE-SU-2018:3084-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-syms, kernel-source, kernel-default4.4.180-94.138.1SUSE-SU-2021:0452-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS and 3 morekgraft-patch-SLE12-SP3_Update_371-4.3.1SUSE-SU-2021:0452-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.155-94.50.1SUSE-SU-2018:2776-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.95.1SUSE-SU-2018:3084-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.138.1SUSE-SU-2021:0452-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.155-94.50.1SUSE-SU-2018:2776-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Legacy 15, Linux Enterprise Workstation Extension 15kernel-default4.12.14-25.16.1SUSE-SU-2018:2539-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_10, kgraft-patch-SLE12-SP3_Update_116-2.1SUSE-SU-2018:2961-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_12, kgraft-patch-SLE12-SP3_Update_134-2.1SUSE-SU-2018:2961-1
52 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernel-0:2.6.32-754.11.1.el6Fixed 2019-02-26RHSA-2019:0415
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.rt56.910.el7Fixed 2018-10-30RHSA-2018:3096
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.el7Fixed 2018-10-30RHSA-2018:3083
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.14.1.el7aFixed 2019-10-29RHSA-2019:3217
Red Hat Enterprise Linux 7.5 Extended Update Supportkernel-0:3.10.0-862.44.2.el7Fixed 2019-11-26RHSA-2019:3967
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.46.1.rt56.639.el6rtFixed 2019-03-26RHSA-2019:0641
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise Linux 8kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10902.

References

Check your stackJSON