In the Linux kernel, the following vulnerability has been resolved:
scsi: pm8001: Fix memory leak in pm8001chipfwflashupdate_req()
In pm8001chipfwflashupdatebuild(), if pm8001chipfwflashupdatebuild() fails, the struct fwcontrolex allocated must be freed.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49119.json"
}[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e5ecdb01952f230921aa8163d8d7f4c97c925ed8",
"id": "CVE-2022-49119-0034a0d7",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"121014544897732735099088686503565610602",
"283973968005917188804063255238288186684",
"302617176981598390619594790992307234179",
"187064050362394772707227640525875279781",
"134161474904051130102887006723033523033"
]
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe5b8ea5583b5c3f6f68e06acba50387edf3b5d5",
"id": "CVE-2022-49119-3f659fa7",
"target": {
"function": "pm8001_chip_fw_flash_update_req",
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1117.0,
"function_hash": "28780183208775532681694137682767714789"
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a25ed5f21f94f9ae4bcc8dd747e978668890c921",
"id": "CVE-2022-49119-b334271c",
"target": {
"function": "pm8001_chip_fw_flash_update_req",
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1117.0,
"function_hash": "28780183208775532681694137682767714789"
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe5b8ea5583b5c3f6f68e06acba50387edf3b5d5",
"id": "CVE-2022-49119-b9e824e2",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"121014544897732735099088686503565610602",
"283973968005917188804063255238288186684",
"302617176981598390619594790992307234179",
"187064050362394772707227640525875279781",
"134161474904051130102887006723033523033"
]
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e5ecdb01952f230921aa8163d8d7f4c97c925ed8",
"id": "CVE-2022-49119-bbc52f6d",
"target": {
"function": "pm8001_chip_fw_flash_update_req",
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1117.0,
"function_hash": "28780183208775532681694137682767714789"
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f792a3629f4c4aa4c3703d66b43ce1edcc3ec09a",
"id": "CVE-2022-49119-cb55f27b",
"target": {
"function": "pm8001_chip_fw_flash_update_req",
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1117.0,
"function_hash": "28780183208775532681694137682767714789"
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d83574666bac4b1462e90df393fbed6c5f57d1a3",
"id": "CVE-2022-49119-d977f981",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"121014544897732735099088686503565610602",
"283973968005917188804063255238288186684",
"302617176981598390619594790992307234179",
"187064050362394772707227640525875279781",
"134161474904051130102887006723033523033"
]
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f792a3629f4c4aa4c3703d66b43ce1edcc3ec09a",
"id": "CVE-2022-49119-e182f321",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"121014544897732735099088686503565610602",
"283973968005917188804063255238288186684",
"302617176981598390619594790992307234179",
"187064050362394772707227640525875279781",
"134161474904051130102887006723033523033"
]
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a25ed5f21f94f9ae4bcc8dd747e978668890c921",
"id": "CVE-2022-49119-ec8b6feb",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"121014544897732735099088686503565610602",
"283973968005917188804063255238288186684",
"302617176981598390619594790992307234179",
"187064050362394772707227640525875279781",
"134161474904051130102887006723033523033"
]
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d83574666bac4b1462e90df393fbed6c5f57d1a3",
"id": "CVE-2022-49119-fa05a9ce",
"target": {
"function": "pm8001_chip_fw_flash_update_req",
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1117.0,
"function_hash": "28780183208775532681694137682767714789"
},
"signature_version": "v1"
}
]