# CVE-2018-20961: In the Linux kernel before 4.16.4, a double free vulnerability in the fmidisetalt function of drivers/usb/gadget/function/fmidi.c in the fm…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.34%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-08-07T14:48:50.000Z
- Modified: 2026-06-17T01:53:49.820Z
- Weaknesses: CWE-415
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux 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

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f> (exploit, mailing-list, vendor-advisory)
- <https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f> (patch, third-party-advisory)
- <https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4> (release-notes, vendor-advisory)
- <https://seclists.org/bugtraq/2019/Aug/48> (mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html> (third-party-advisory, vdb-entry)
- <https://support.f5.com/csp/article/K58502654> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20190905-0002/> (third-party-advisory)
- <https://usn.ubuntu.com/4145-1/> (third-party-advisory, vendor-advisory)
- <https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp%3Butm_medium=RSS>
- <http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2018-20961](https://www.cve.org/CVERecord?id=CVE-2018-20961), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-20961](https://nvd.nist.gov/vuln/detail/CVE-2018-20961), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-20961 · Whole record: https://cve.day/CVE-2018-20961.json · Rebuilt by cve.day 2026-11-25T22:57:42.445Z
