A vulnerability was found in the Linux kernel, where accessing a deallocated instance in printerioctl() printerioctl() tries to access of a printerdev instance. However, use-after-free arises because it had been freed by gprinterfree().
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27784.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e8d5f92b8d30bb4ade76494490c3c065e12411b1",
"digest": {
"function_hash": "312260383287342243978319216164491915671",
"length": 557.0
},
"id": "CVE-2020-27784-04140854",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_printer.c",
"function": "printer_open"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e8d5f92b8d30bb4ade76494490c3c065e12411b1",
"digest": {
"function_hash": "185779739457596323225533317845394355236",
"length": 345.0
},
"id": "CVE-2020-27784-18aa50aa",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_printer.c",
"function": "printer_close"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e8d5f92b8d30bb4ade76494490c3c065e12411b1",
"digest": {
"line_hashes": [
"199608700399996862118424290672997543816",
"79566496945654100799835638867134459800",
"235328575952807793694588556720100968127",
"157673292171162937079731312674948960170",
"270263259548363056462092013906194042101",
"263403360085861280237713499717009571255",
"149937856471665372243086265061777145154",
"270755293741726371667273866667524378302",
"68687209990083349599700730737899966406",
"100299177993125880447193078362751950843",
"155212199391577609822117401568409948260",
"263690775725715388740733299834316023918",
"203387562797566496599274582131798848025",
"176995656503471723276326308977621375932",
"197260966162026988773305001074615145051",
"161097902598910537929736349500243315275",
"97553032097766531701484225072308663166",
"275081033634346795189156910749566579511",
"200895366692709769496580494665379611522",
"309764183468526175553666092792125960044",
"50421048734659220209079434260287582875",
"37474816423432725213371971465698145426",
"62616214461223868565782789883877081795"
],
"threshold": 0.9
},
"id": "CVE-2020-27784-370a8d5d",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_printer.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e8d5f92b8d30bb4ade76494490c3c065e12411b1",
"digest": {
"function_hash": "235920562589199168035280314747531306887",
"length": 1467.0
},
"id": "CVE-2020-27784-58ee5421",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_printer.c",
"function": "gprinter_alloc"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e8d5f92b8d30bb4ade76494490c3c065e12411b1",
"digest": {
"function_hash": "312000981281794819976154113962151415920",
"length": 245.0
},
"id": "CVE-2020-27784-85f53051",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_printer.c",
"function": "gprinter_free"
}
}
]