{"api_version":"1","generated_at":"2026-07-23T14:17:31+00:00","cve":"CVE-2018-20961","urls":{"html":"https://cve.report/CVE-2018-20961","api":"https://cve.report/api/cve/CVE-2018-20961.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20961","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20961"},"summary":{"title":"CVE-2018-20961","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-08-07 15:15:00","updated_at":"2023-11-07 02:56:00"},"problem_types":["CWE-415"],"metrics":[],"references":[{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4","name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://support.f5.com/csp/article/K58502654","name":"https://support.f5.com/csp/article/K58502654","refsource":"CONFIRM","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp%3Butm_medium=RSS","name":"https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp%3Butm_medium=RSS","refsource":"","tags":[],"title":"myF5","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp;utm_medium=RSS","name":"https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp;utm_medium=RSS","refsource":"CONFIRM","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://seclists.org/bugtraq/2019/Aug/48","name":"20190826 [slackware-security] Slackware 14.2 kernel (SSA:2019-238-01)","refsource":"BUGTRAQ","tags":[],"title":"Bugtraq: [slackware-security] Slackware 14.2 kernel (SSA:2019-238-01)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f","name":"https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"USB: gadget: f_midi: fixing a possible double-free in f_midi · torvalds/linux@7fafcfd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html","name":"http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html","refsource":"MISC","tags":[],"title":"Kernel Live Patch Security Notice LSN-0058-1 ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","name":"http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","refsource":"MISC","tags":[],"title":"Slackware Security Advisory - Slackware 14.2 kernel Updates ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20190905-0002/","name":"https://security.netapp.com/advisory/ntap-20190905-0002/","refsource":"CONFIRM","tags":[],"title":"August 2019 Linux Kernel Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f","name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f","refsource":"MISC","tags":["Exploit","Mailing List","Vendor Advisory"],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4145-1/","name":"USN-4145-1","refsource":"UBUNTU","tags":[],"title":"USN-4145-1: Linux kernel vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20961","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20961","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"20961","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"20961","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-20961","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f","refsource":"MISC","name":"https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f","refsource":"MISC","name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f"},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4","refsource":"MISC","name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4"},{"refsource":"BUGTRAQ","name":"20190826 [slackware-security] Slackware 14.2 kernel (SSA:2019-238-01)","url":"https://seclists.org/bugtraq/2019/Aug/48"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","url":"http://packetstormsecurity.com/files/154228/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html"},{"refsource":"CONFIRM","name":"https://support.f5.com/csp/article/K58502654","url":"https://support.f5.com/csp/article/K58502654"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20190905-0002/","url":"https://security.netapp.com/advisory/ntap-20190905-0002/"},{"refsource":"UBUNTU","name":"USN-4145-1","url":"https://usn.ubuntu.com/4145-1/"},{"refsource":"CONFIRM","name":"https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp;utm_medium=RSS","url":"https://support.f5.com/csp/article/K58502654?utm_source=f5support&amp;utm_medium=RSS"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html","url":"http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html"}]}},"nvd":{"publishedDate":"2019-08-07 15:15:00","lastModifiedDate":"2023-11-07 02:56:00","problem_types":["CWE-415"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"4.4.190","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5","versionEndExcluding":"4.9.96","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"4.14.36","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15.0","versionEndExcluding":"4.16.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"20961","Ordinal":"153950","Title":"CVE-2018-20961","CVE":"CVE-2018-20961","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"20961","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"20961","Ordinal":"2","NoteData":"2019-08-07","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"20961","Ordinal":"3","NoteData":"2019-10-23","Type":"Other","Title":"Modified"}]}}}