CVE-2018-10902: canonical ubuntu_linux Use After Free
Vulnerability summary
CVE-2018-10902 is a high (CVSS 7.8) Use After Free vulnerability in canonical ubuntu_linux. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 44.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 38 · Related 31Timeline
- 21-08-2018PublishedVulnerability first disclosed.
- 07-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versions- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
- CWE-415Double FreeThe product calls free() twice on the same memory address.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard83 products
- hyperv-daemons-6.18All versions (No fix recorded)
- hyperv-daemons-genericAll versions (No fix recorded)
- linux-aws-6.12All versions (No fix recorded) | < 6.12.65-r0
- linux-aws-6.12-boot-installedAll versions (No fix recorded)
- linux-aws-6.12-fips-boot-installedAll versions (No fix recorded)
Redhat25 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0 | 7.0
- enterprise_linux_workstation6.0 | 7.0
- kernel< 0:2.6.32-754.11.1.el6
- kernel-abi-whitelists< 0:2.6.32-754.11.1.el6
Ubuntu17 products
- linux< 3.13.0-164.214 | < 4.4.0-137.163 | < 4.15.0-43.46
- linux-aws< 4.4.0-1031.34 | < 4.4.0-1069.79 | < 4.15.0-1031.33
- linux-azure< 4.15.0-1036.38~14.04.2 | < 4.15.0-1036.38~16.04.1 | < 4.15.0-1036.38
- linux-azure-fdeAll versions (No fix recorded)
- linux-fips< 4.4.0-1008.10
Debian2 products
- linux< 4.17.15-1
- debian_linuxEOL8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 18.04
Linux1 product
6 vendors · 129 products
References
35 links- access.redhat.com/errata/RHSA-2018:3083Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- lists.debian.org/debian-lts-announce/2018/10/msg00003.htmlMailing ListX Refsource MLISTThird Party AdvisoryAdvisory
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10902X Refsource CONFIRMIssue TrackingPatchThird Party AdvisoryFIX
- access.redhat.com/errata/RHSA-2019:0415Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
Show all 35 references
- access.redhat.com/errata/RHSA-2018:3096Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- access.redhat.com/errata/RHSA-2019:0641Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory