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().
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"length": 1538.0,
"function_hash": "112991420103363610680661031240315247947"
},
"id": "CVE-2022-49121-035feabe"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"id": "CVE-2022-49121-079750c8"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-0830603f"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"id": "CVE-2022-49121-0a20ed4b"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"id": "CVE-2022-49121-0f88af8d"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"id": "CVE-2022-49121-210fcb09"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"id": "CVE-2022-49121-2d800970"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"length": 1491.0,
"function_hash": "10642331539766531112284660112378675347"
},
"id": "CVE-2022-49121-3f8af467"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-49ef8ff4"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"length": 1538.0,
"function_hash": "112991420103363610680661031240315247947"
},
"id": "CVE-2022-49121-56c3264b"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-5760d427"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"id": "CVE-2022-49121-5a1a98eb"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"id": "CVE-2022-49121-6463861c"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"length": 1578.0,
"function_hash": "223922895190678600987192759231063674188"
},
"id": "CVE-2022-49121-646e0de4"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"length": 1491.0,
"function_hash": "10642331539766531112284660112378675347"
},
"id": "CVE-2022-49121-6cadb50c"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"id": "CVE-2022-49121-72564c4d"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-80530ff7"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"id": "CVE-2022-49121-83e5dc2b"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"length": 1582.0,
"function_hash": "232050324392199148652723834878421279941"
},
"id": "CVE-2022-49121-87f16af1"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"length": 1582.0,
"function_hash": "232050324392199148652723834878421279941"
},
"id": "CVE-2022-49121-9355ed3a"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"id": "CVE-2022-49121-b6b48b7c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0bb65eadbf942024226241d9d99fed17168940b",
"digest": {
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-b909bf55"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c",
"function": "pm80xx_chip_phy_ctl_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"length": 479.0,
"function_hash": "164573475549613793883918297154427814165"
},
"id": "CVE-2022-49121-c23417fc"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-c687950e"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"id": "CVE-2022-49121-c8e68c3d"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_reg_dev_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"length": 1491.0,
"function_hash": "10642331539766531112284660112378675347"
},
"id": "CVE-2022-49121-cffb289b"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"length": 1582.0,
"function_hash": "232050324392199148652723834878421279941"
},
"id": "CVE-2022-49121-dcfbe0f4"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c8f04b1905cd4b776d0b720463c091545478ef7",
"digest": {
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-e1022676"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_sas.c",
"function": "pm8001_exec_internal_task_abort"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"length": 1582.0,
"function_hash": "232050324392199148652723834878421279941"
},
"id": "CVE-2022-49121-e2742e37"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-e6254f79"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_fw_flash_update_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdc74815f1c39905054b7d47399e0260b201b14d",
"digest": {
"length": 1079.0,
"function_hash": "216691328744130004183918206616593508022"
},
"id": "CVE-2022-49121-e71ccca8"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"id": "CVE-2022-49121-ed3a7bf6"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"line_hashes": [
"161757795823147209412273764182602977284",
"209391101043595837202640739490857789967",
"139680212397885235327128606573660599732",
"148238011062098568875513306985651595908",
"7956875624846811180332266070209064933",
"253465183824801668647040598941850647896",
"166776124278020272659255623330811976678",
"173956068010423747545833642130178856206",
"196824748732765333410659727898211870433",
"312498679697996124329751169213991150551",
"139680212397885235327128606573660599732",
"337559538688292836615694492304885654272"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-f3f1198e"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm80xx_hwi.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43c617eefab7077d69f5989ad3e2a273da1d728b",
"digest": {
"line_hashes": [
"237571347392544268797019079902872934957",
"332575553661279345043754260520297032931",
"105731260527699504448712592656589191324",
"339413325379336256814662449810218864933",
"170031511300868537218386286397216305146"
],
"threshold": 0.9
},
"id": "CVE-2022-49121-f74c31ca"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/pm8001/pm8001_hwi.c",
"function": "pm8001_chip_set_dev_state_req"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cc72bcc1c096ed42c91646f130d4b4191580a4c",
"digest": {
"length": 587.0,
"function_hash": "54083823084616706626140649804198657887"
},
"id": "CVE-2022-49121-fbb24d6c"
}
]