An issue was discovered in the Linux kernel through 5.6.11. sgwrite lacks an sgremove_request call in a certain failure case, aka CID-83c6f2390040.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@83c6f2390040f188cc25b270b4befeb5628c1aee",
"id": "CVE-2020-12770-658a695b",
"target": {
"file": "drivers/scsi/sg.c"
},
"digest": {
"line_hashes": [
"73422507243255507178068333472575591404",
"71036350656066449680914551815818238115",
"27135430326341693445602028975208763631",
"116218193945841849364481347773000302297",
"339313817281999995211521495775967654084"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@83c6f2390040f188cc25b270b4befeb5628c1aee",
"id": "CVE-2020-12770-c2116466",
"target": {
"file": "drivers/scsi/sg.c",
"function": "sg_write"
},
"digest": {
"function_hash": "40721169279789768173901356048290291912",
"length": 2933.0
},
"signature_type": "Function",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12770.json"