An issue was discovered in the Linux kernel before 5.0.5. There is a use-after-free issue when hciuartregisterdev() fails in hciuartsetproto() in drivers/bluetooth/hci_ldisc.c.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15917.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/56897b217a1d0a91c9920cb418d6b3fe922f590a",
"digest": {
"function_hash": "224981545052832923242966206318983415122",
"length": 355.0
},
"id": "CVE-2019-15917-32e4f9f9",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/hci_ldisc.c",
"function": "hci_uart_set_proto"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/56897b217a1d0a91c9920cb418d6b3fe922f590a",
"digest": {
"line_hashes": [
"107694461920185227975920286254766447417",
"48485196951454957129004408190315336312",
"237210567117309104955851944881638022625",
"226723033534032269823070372144838392979",
"38044383559878476422304917781769998325",
"325590989895128750303621904018704988159",
"106129444367357085779302048573414512013",
"241302203046717215487258329201502492579",
"232523780948451025055166371059761019801"
],
"threshold": 0.9
},
"id": "CVE-2019-15917-9200840a",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/hci_ldisc.c"
}
}
]