{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49121",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-02-26T01:49:39.264Z",
        "datePublished": "2025-02-26T01:55:01.671Z",
        "dateUpdated": "2026-05-11T18:53:34.104Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T18:53:34.104Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: pm8001: Fix tag leaks on error\n\nIn pm8001_chip_set_dev_state_req(), pm8001_chip_fw_flash_update_req(),\npm80xx_chip_phy_ctl_req() and pm8001_chip_reg_dev_req() add missing calls\nto pm8001_tag_free() to free the allocated tag when pm8001_mpi_build_cmd()\nfails.\n\nSimilarly, in pm8001_exec_internal_task_abort(), if the chip ->task_abort\nmethod fails, the tag allocated for the abort request task must be\nfreed. Add the missing call to pm8001_tag_free()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/scsi/pm8001/pm8001_hwi.c",
                        "drivers/scsi/pm8001/pm8001_sas.c",
                        "drivers/scsi/pm8001/pm80xx_hwi.c"
                    ],
                    "versions": [
                        {
                            "version": "dbf9bfe615717d1145f263c0049fe2328e6ed395",
                            "lessThan": "a0bb65eadbf942024226241d9d99fed17168940b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbf9bfe615717d1145f263c0049fe2328e6ed395",
                            "lessThan": "43c617eefab7077d69f5989ad3e2a273da1d728b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbf9bfe615717d1145f263c0049fe2328e6ed395",
                            "lessThan": "bdc74815f1c39905054b7d47399e0260b201b14d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbf9bfe615717d1145f263c0049fe2328e6ed395",
                            "lessThan": "9cc72bcc1c096ed42c91646f130d4b4191580a4c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbf9bfe615717d1145f263c0049fe2328e6ed395",
                            "lessThan": "4c8f04b1905cd4b776d0b720463c091545478ef7",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/scsi/pm8001/pm8001_hwi.c",
                        "drivers/scsi/pm8001/pm8001_sas.c",
                        "drivers/scsi/pm8001/pm80xx_hwi.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.33",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.33",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.111",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.34",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.16.20",
                            "lessThanOrEqual": "5.16.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.17.3",
                            "lessThanOrEqual": "5.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.10.111"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.15.34"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.16.20"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.17.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.18"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a0bb65eadbf942024226241d9d99fed17168940b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/43c617eefab7077d69f5989ad3e2a273da1d728b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bdc74815f1c39905054b7d47399e0260b201b14d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9cc72bcc1c096ed42c91646f130d4b4191580a4c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4c8f04b1905cd4b776d0b720463c091545478ef7"
                }
            ],
            "title": "scsi: pm8001: Fix tag leaks on error",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}