In the Linux kernel, the following vulnerability has been resolved:
scsi: zorro7xx: Fix a resource leak in zorro7xxremoveone()
The error handling path of the probe releases a resource that is not freed in the remove function. In some cases, a ioremap() must be undone.
Add the missing iounmap() call in the remove function.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49095.json"
}[
{
"digest": {
"length": 221.0,
"function_hash": "157148892489327062461569822433171945743"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49095-03863c25",
"target": {
"function": "zorro7xx_remove_one",
"file": "drivers/scsi/zorro7xx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34a47f7ddb4fd1cbd12397aa6f7dad1de08b4050"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"274653404674613800956081403867686400074",
"217456606912657710530181346129553393634",
"71554980855325484151682938791431439415",
"130448153306937275534618098133689853614"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49095-0954e951",
"target": {
"file": "drivers/scsi/zorro7xx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34a47f7ddb4fd1cbd12397aa6f7dad1de08b4050"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"274653404674613800956081403867686400074",
"217456606912657710530181346129553393634",
"71554980855325484151682938791431439415",
"130448153306937275534618098133689853614"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49095-1a28d314",
"target": {
"file": "drivers/scsi/zorro7xx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aefd755a96051aa56b198cb7ecd168b22ba384f6"
},
{
"digest": {
"length": 221.0,
"function_hash": "157148892489327062461569822433171945743"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49095-6ad2d4c7",
"target": {
"function": "zorro7xx_remove_one",
"file": "drivers/scsi/zorro7xx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a845c678e094894f38cc9526d212b21933ce44c7"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"274653404674613800956081403867686400074",
"217456606912657710530181346129553393634",
"71554980855325484151682938791431439415",
"130448153306937275534618098133689853614"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49095-7f5c5216",
"target": {
"file": "drivers/scsi/zorro7xx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a845c678e094894f38cc9526d212b21933ce44c7"
},
{
"digest": {
"length": 221.0,
"function_hash": "157148892489327062461569822433171945743"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49095-c7aa6bd8",
"target": {
"function": "zorro7xx_remove_one",
"file": "drivers/scsi/zorro7xx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aefd755a96051aa56b198cb7ecd168b22ba384f6"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49095.json"