go7007sndinit in drivers/media/usb/go7007/snd-go7007.c in the Linux kernel before 5.6 does not call sndcardfree for a failure path, which causes a memory leak, aka CID-9453264ef586.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20810.json"
[
{
"signature_type": "Function",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9453264ef58638ce8976121ac44c07a3ef375983",
"id": "CVE-2019-20810-6b9000f5",
"signature_version": "v1",
"digest": {
"length": 1424.0,
"function_hash": "172983637081469551570479961066272700059"
},
"target": {
"file": "drivers/media/usb/go7007/snd-go7007.c",
"function": "go7007_snd_init"
}
},
{
"signature_type": "Line",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9453264ef58638ce8976121ac44c07a3ef375983",
"id": "CVE-2019-20810-dfa8d250",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103411661384382862275831149907599551604",
"39772969298305881342180150288297277366",
"73259906790309085032606117457969763038",
"264489813052699468320954539958989785322",
"76174303796230509952662007807924036666",
"316759148230655464487110131517823308012",
"100694045650749935635273253177094806607",
"208332215049117764684790660059026027220",
"91033179100389506236224864051313332320",
"264489813052699468320954539958989785322",
"224724563056806448138262352612773481887",
"335231606833592843275759380326689100709",
"293337636649514488890050909612712294998",
"303026030113773726688804172211160551132",
"188436049027016434409889766446429793551",
"80771079973595334437528607364987090235",
"20107450360958005495226802493550785184",
"74782890293934480354531747606716917776",
"92798270267132030198130139837804433933",
"199459116895844335933410240678061581666",
"89372777389309215431113802032438498171",
"300050027045846372654653649223998687451",
"188436049027016434409889766446429793551",
"80771079973595334437528607364987090235",
"4607651740733361392627120938652762462",
"166846842647230514766982568064592897596",
"168767545171642894965762127013759304643",
"338056192899752846840405059541596836502",
"72677879858689556085468936373783815049",
"82171628339792811705279281634757303915",
"84309771144028950755566299887157253673"
]
},
"target": {
"file": "drivers/media/usb/go7007/snd-go7007.c"
}
}
]