In the Linux kernel, the following vulnerability has been resolved:
scsi: pm8001: Fix tag leaks on error
In pm8001chipsetdevstatereq(), pm8001chipfwflashupdatereq(), pm80xxchipphyctlreq() and pm8001chipregdevreq() add missing calls to pm8001tagfree() to free the allocated tag when pm8001mpibuild_cmd() fails.
Similarly, in pm8001execinternaltaskabort(), if the chip ->taskabort method fails, the tag allocated for the abort request task must be freed. Add the missing call to pm8001tag_free().
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49121.json"
}[
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-035feabe",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"digest": {
"length": 1538.0,
"function_hash": "112991420103363610680661031240315247947"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-079750c8",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49121-0830603f",
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-0a20ed4b",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-0f88af8d",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-210fcb09",
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-2d800970",
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-3f8af467",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"digest": {
"length": 1491.0,
"function_hash": "10642331539766531112284660112378675347"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49121-49ef8ff4",
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-646e0de4",
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"digest": {
"length": 1578.0,
"function_hash": "223922895190678600987192759231063674188"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-87f16af1",
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"digest": {
"length": 1582.0,
"function_hash": "232050324392199148652723834878421279941"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49121-b909bf55",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49121-f3f1198e",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49121-fbb24d6c",
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49121.json"