CVE-2018-20961 in the critical feed json
In the Linux kernel before 4.16.4, a double free vulnerability in the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in th…
published 2019-08-07 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13499
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.3%
- EPSS 6.3% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
In the Linux kernel before 4.16.4, a double free vulnerability in the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in the f_midi driver may allow attackers to cause a denial of service or possibly have unspecified other impact.
Patch / fix
- linux linux_kernel 4.4.190, 4.9.96, 4.14.36, 4.16.4
- linux Debian 14, Debian 13, Debian 12 4.16.5-1
debian advisories DEBIAN-CVE-2018-20961
- linux Ubuntu 16.04 LTS 4.4.0-165.193
- linux Ubuntu 18.04 LTS 4.15.0-24.26
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1014.14~16.04.1
- linux-gcp Ubuntu 18.04 LTS 4.15.0-1010.10
- linux-hwe Ubuntu 16.04 LTS 4.15.0-24.26~16.04.1
- linux-oem Ubuntu 18.04 LTS 4.15.0-1009.12
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1123.132
- linux-raspi2 Ubuntu 18.04 LTS 4.15.0-1013.14
ubuntu advisories UBUNTU-CVE-2018-20961
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20961 updated cvss 7.4
kernel: double free vulnerability in function f_midi_set_alt in drivers/usb/gadget/function/f_midi.c causing denial of service
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.34% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- git.kernel.org https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-415 Double Free
- Technology feeds
References
-
github.com
/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f
exploit, mailing-list, vendor-advisory
-
usn.ubuntu.com
/4145-1/
vendor-advisory, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v4.x/ChangeLog-4.16.4
release-notes, vendor-advisory
-
seclists.org
/bugtraq/2019/Aug/48
mailing-list, third-party-advisory
-
packetstormsecurity.com
/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
third-party-advisory, vdb-entry
-
support.f5.com
/csp/article/K58502654
third-party-advisory
-
security.netapp.com
/advisory/ntap-20190905-0002/
third-party-advisory
- support.f5.com /csp/article/K58502654?utm_source=f5support&%3Butm_medium=RSS
-
packetstormsecurity.com
/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2018-20961
- NVD CVE-2018-20961
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.