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 f_midi driver may allow attackers to cause a denial of service or possibly have unspecified other impact.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20961.json"
[
{
"id": "CVE-2018-20961-3cccab27",
"signature_type": "Function",
"digest": {
"function_hash": "200538290932037664985657418281410297221",
"length": 992.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7fafcfdf6377b18b2a726ea554d6e593ba44349f",
"target": {
"function": "f_midi_set_alt",
"file": "drivers/usb/gadget/function/f_midi.c"
},
"deprecated": false
},
{
"id": "CVE-2018-20961-3f10b544",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"282712511950880389793146564431219278681",
"283444551387007290227599788363653428280",
"265672214722640940671550366994583635972",
"206033706570530318989141615518152285675"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7fafcfdf6377b18b2a726ea554d6e593ba44349f",
"target": {
"file": "drivers/usb/gadget/function/f_midi.c"
},
"deprecated": false
},
{
"id": "CVE-2018-20961-aef35564",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"220954445337525550758067024956243623157",
"187689207560107407258369467050317550491",
"324506440025450196251007999382362145083",
"204966657309511885764304106706867830839",
"169569546812719019732497056131510285001"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7fafcfdf6377b18b2a726ea554d6e593ba44349f",
"target": {
"file": "drivers/usb/gadget/u_f.h"
},
"deprecated": false
},
{
"id": "CVE-2018-20961-ddc48bb2",
"signature_type": "Function",
"digest": {
"function_hash": "328991408561637639934617258176656947674",
"length": 123.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7fafcfdf6377b18b2a726ea554d6e593ba44349f",
"target": {
"function": "free_ep_req",
"file": "drivers/usb/gadget/u_f.h"
},
"deprecated": false
}
]