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
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% · 42th percentile
- CWE
- CWE-416
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
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.
Affected systems
| 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 |
Affected versions
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
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
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
- CVE-2024-44309A cookie management issue was addressed with improved state management.KEV62This week
- CVE-2016-2098Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Rub53Plan
- CVE-2015-1592Movable Type Pro, Open Source, and Advanced before 5.2.12 and Pro and Advanced 6.0.x before 6.0.7 does not properly use the Perl Storable::t53Plan
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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.securityfocus.com/bid/105119
- 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.