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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49095.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/zorro7xx.c",
"function": "zorro7xx_remove_one"
},
"id": "CVE-2022-49095-03863c25",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34a47f7ddb4fd1cbd12397aa6f7dad1de08b4050",
"digest": {
"function_hash": "157148892489327062461569822433171945743",
"length": 221.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/zorro7xx.c"
},
"id": "CVE-2022-49095-0954e951",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34a47f7ddb4fd1cbd12397aa6f7dad1de08b4050",
"digest": {
"line_hashes": [
"274653404674613800956081403867686400074",
"217456606912657710530181346129553393634",
"71554980855325484151682938791431439415",
"130448153306937275534618098133689853614"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/zorro7xx.c"
},
"id": "CVE-2022-49095-1a28d314",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aefd755a96051aa56b198cb7ecd168b22ba384f6",
"digest": {
"line_hashes": [
"274653404674613800956081403867686400074",
"217456606912657710530181346129553393634",
"71554980855325484151682938791431439415",
"130448153306937275534618098133689853614"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/zorro7xx.c",
"function": "zorro7xx_remove_one"
},
"id": "CVE-2022-49095-6ad2d4c7",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a845c678e094894f38cc9526d212b21933ce44c7",
"digest": {
"function_hash": "157148892489327062461569822433171945743",
"length": 221.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/zorro7xx.c"
},
"id": "CVE-2022-49095-7f5c5216",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a845c678e094894f38cc9526d212b21933ce44c7",
"digest": {
"line_hashes": [
"274653404674613800956081403867686400074",
"217456606912657710530181346129553393634",
"71554980855325484151682938791431439415",
"130448153306937275534618098133689853614"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/zorro7xx.c",
"function": "zorro7xx_remove_one"
},
"id": "CVE-2022-49095-c7aa6bd8",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aefd755a96051aa56b198cb7ecd168b22ba384f6",
"digest": {
"function_hash": "157148892489327062461569822433171945743",
"length": 221.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49095.json"