What’s Vulnerable › Vulnerabilities
CVE-2018-20961
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-08-07 · updated 2026-06-17
- Weakness: CWE-415
Description
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.
Affected products
- Linux kernel: from 4.4 before 4.4.190; from 4.5 before 4.9.96; from 4.10 before 4.14.36; from 4.15.0 before 4.16.4 — fixed in 4.14.36, 4.16.4, 4.4.190, 4.9.96
How to fix
Upgrade to a fixed version: Linux kernel 4.14.36, 4.16.4, 4.4.190, 4.9.96. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
- http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f
- https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f
- https://seclists.org/bugtraq/2019/Aug/48
- https://security.netapp.com/advisory/ntap-20190905-0002/
- https://support.f5.com/csp/article/K58502654
- https://support.f5.com/csp/article/K58502654?utm_source=f5support&%3Butm_medium=RSS
- https://usn.ubuntu.com/4145-1/
- http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
- http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html
Get alerted when CVE-2018-20961 or the next vulnerability affects your stack