In the Linux kernel before 5.1.13, there is a memory leak in drivers/scsi/libsas/sas_expander.c when SAS expander discovery fails. This will cause a BUG and denial of service.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-15807.json"
[
{
"id": "CVE-2019-15807-8fca8740",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@3b0541791453fbe7f42867e310e0c9eb6295364d",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "270557586580984939638021003738740262619",
"length": 2014.0
},
"target": {
"function": "sas_ex_discover_expander",
"file": "drivers/scsi/libsas/sas_expander.c"
}
},
{
"id": "CVE-2019-15807-ec9dfd45",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@3b0541791453fbe7f42867e310e0c9eb6295364d",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"171819957232125307283848250888699335683",
"270437624819387093680389403617586284198",
"109553291441206065577870222262439835549",
"316207216416256654153873139557912031599"
]
},
"target": {
"file": "drivers/scsi/libsas/sas_expander.c"
}
}
]