CVE-2018-10902: It was found that the raw midi kernel driver does not protect against concurrent access which leads to a double realloc (double free) in…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.52% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: linux (Debian:12) 4.17.15-1; linux (Debian:8) 3.16.59-1; linux-4.9 (Debian:8) 4.9.110-3+deb9u5~deb8u1.
Low priority for now. Upgrade to linux (Debian:12) 4.17.15-1; linux (Debian:8) 3.16.59-1; linux-4.9 (Debian:8) 4.9.110-3+deb9u5~deb8u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2019-00977
- DLA-1529-1
- DLA-1531-1
- DSA-4308-1
- RHSA-2018:3083
- RHSA-2018:3096
- RHSA-2019:0415
- RHSA-2019:0641
- RHSA-2019:3217
- RHSA-2019:3967
- 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
- Published
- Aug 21, 2018
- Updated
- Jul 7, 2026
- EPSS
- 0.5% · 44th percentile
- CWE
- CWE-416
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.16.58 and later · before 3.16.*not affected · semver
- 3.18.117 and later · before 3.18.*not affected · semver
- 4.4.144 and later · before 4.4.*not affected · semver
- 4.9.115 and later · before 4.9.*not affected · semver
- 4.14.100 and later · before 4.14.*not affected · semver
- 4.17.10 and later · before 4.17.*not affected · semver
- 4.18 and laternot affected · semver
Affected versions · NVD (13)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- debian debian linux8.0
- debian debian linux9.0
- linux linux kernelall versions
- redhat enterprise linux desktop6.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server6.0
- redhat enterprise linux server7.0
- redhat enterprise linux workstation6.0
- redhat enterprise linux workstation7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 4.17.15-1 | 4.17.15-1 |
| Debian:8 | linux | before 3.16.59-1 | 3.16.59-1 |
| Debian:8 | linux-4.9 | before 4.9.110-3+deb9u5~deb8u1 | 4.9.110-3+deb9u5~deb8u1 |
| Debian:9 | linux | before 4.9.110-3+deb9u5 | 4.9.110-3+deb9u5 |
| Red Hat:enterprise_linux:6::client | kernel | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-abi-whitelists | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debug | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debug-debuginfo | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debug-devel | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debuginfo | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debuginfo-common-i686 | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debuginfo-common-x86_64 | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-devel | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-doc | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-firmware | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | kernel-headers | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | perf | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | perf-debuginfo | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | python-perf | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::client | python-perf-debuginfo | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::server | kernel-bootwrapper | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::server | kernel-debuginfo-common-ppc64 | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::server | kernel-debuginfo-common-s390x | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
| Red Hat:enterprise_linux:6::server | kernel-kdump | before 0:2.6.32-754.11.1.el6 | 0:2.6.32-754.11.1.el6 |
+96
Same product
debian: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV86Now
- CVE-2024-44308The issue was addressed with improved checks.KEV68This week
- CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack64This week
Published before and after this one in the same product
- ← EarlierCVE-2018-10906Jul 24, 2018 · In fuse before versions 2.9.8 and 3.x before 3.2.5, fusermount is vulnerable to a restriction bypass when SELinux is active.31Monitor
- ← EarlierCVE-2018-15599Aug 20, 2018 · The recv_msg_userauth_request function in svr-auth.c in Dropbear through 2018.76 is prone to a user enumeration vulnerability because…22Monitor
- Later →CVE-2018-12367Oct 18, 2018 · In the previous mitigations for Spectre, the resolution or precision of various methods was reduced to counteract the ability to measure…18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:linux | 4.17.15-1 · Debian:12 | Package registry (OSV) |
| debian:linux-4.9 | 4.9.110-3+deb9u5~deb8u1 · Debian:8 | Package registry (OSV) |
| red hat:bpftool | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-abi-whitelists | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-devel | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-doc | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-tools | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-tools-debuginfo | 0:3.10.0-957.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:kernel-default | 4.12.14-25.16.1 · SUSE:Linux Enterprise Live Patching 15 | Package registry (OSV) |
| suse:kernel-docs | 4.12.14-25.16.1 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15_Update_4 | 1-1.3.1 · SUSE:Linux Enterprise Live Patching 15 | Package registry (OSV) |
| suse:kernel-obs-build | 4.12.14-25.16.1 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
| suse:kernel-source | 4.12.14-25.16.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:kernel-syms | 4.12.14-25.16.1 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
| suse:kernel-vanilla | 4.12.14-25.16.1 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
| suse:kernel-zfcpdump | 4.12.14-25.16.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:kgraft-patch-SLE12_Update_30 | 8-2.1 · SUSE:Linux Enterprise Server 12-LTSS | Package registry (OSV) |
| suse:kgraft-patch-SLE12_Update_31 | 8-2.1 · SUSE:Linux Enterprise Server 12-LTSS | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP3_Update_17 | 1-4.3.1 · SUSE:Linux Enterprise Live Patching 12 SP3 | Package registry (OSV) |
| suse:lttng-modules | 2.10.0-5.6.1 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- www.securitytracker.com/id/1041529
- access.redhat.com/errata/RHSA-2018:3083
- access.redhat.com/errata/RHSA-2018:3096
- access.redhat.com/errata/RHSA-2019:0415
- access.redhat.com/errata/RHSA-2019:0641
- access.redhat.com/errata/RHSA-2019:3217
- access.redhat.com/errata/RHSA-2019:3967
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10902
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39675f7a7c7e7702f7d5341f1e0d01db746543a0
- lists.debian.org/debian-lts-announce/2018/10/msg00003.html
- usn.ubuntu.com/3776-1/
- usn.ubuntu.com/3776-2/
- usn.ubuntu.com/3847-1/
- usn.ubuntu.com/3847-2/
- usn.ubuntu.com/3847-3/
- usn.ubuntu.com/3849-1/
- usn.ubuntu.com/3849-2/
- www.debian.org/security/2018/dsa-4308
Vendor advisories and official records. Exploit/PoC links are deliberately left out.