In the Linux kernel before 5.2.10, there is a race condition bug that can be caused by a malicious USB device in the USB character device driver layer, aka CID-303911cfc5b9. This affects drivers/usb/core/file.c.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-19537.json"
[
{
"target": {
"file": "drivers/usb/core/file.c",
"function": "usb_deregister_dev"
},
"digest": {
"length": 401.0,
"function_hash": "206773706710397311649892876003261400186"
},
"signature_type": "Function",
"id": "CVE-2019-19537-049a4b5c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@303911cfc5b95d33687d9046133ff184cf5043ff",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "drivers/usb/core/file.c",
"function": "usb_register_dev"
},
"digest": {
"length": 1124.0,
"function_hash": "337050413438067652895059830387953214560"
},
"signature_type": "Function",
"id": "CVE-2019-19537-7276a0d4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@303911cfc5b95d33687d9046133ff184cf5043ff",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "drivers/usb/core/file.c"
},
"digest": {
"line_hashes": [
"1948304748535680360393455247799523676",
"47829123718332170864552257900902881373",
"262301600876862273896687921028167159219",
"19968715538984386620379979026721056054",
"56474746311169911818098960718711867753",
"325104529858331487429746413077441000884",
"13641696779330364904991874601722831562",
"163863259920866150387682593058324493302",
"108982607887700211613019309123439226077",
"145892044496209035660410936415751794891",
"181146230613211402501720372460272077220",
"239613828256051873675789806004328395602",
"271596349464705474647802085613163889363",
"51755162813760520254998691042093843291",
"108375549710543247490629040880091627061",
"179141073735938504690380578945705795465",
"19099745446917463036545596206939297659",
"178559445251769438640828471932368059605",
"130687366238983233922909802667588829393",
"292828562565713816051189175839036386885",
"139959277111219381043191065912455391045",
"171181113882260895063021223222283053152",
"274113211784888117479363100405938271661"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2019-19537-c7d24d47",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@303911cfc5b95d33687d9046133ff184cf5043ff",
"deprecated": false,
"signature_version": "v1"
}
]