Skip to content
Heist/ feed
Back to feed
UnratedFix available

scsi: pm8001: Fix tag leaks on error

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: scsi: pm8001: Fix tag leaks on error In pm8001_chip_set_dev_state_req(), pm8001_chip_fw_flash_update_req(), pm80xx_chip_phy_ctl_req() and pm8001_chip_reg_dev_req() add missing calls to pm8001_tag_free() to free the allocated tag when pm8001_mpi_build_cmd() fails. Similarly, in pm8001_exec_internal_task_abort(), if the chip ->task_abort method fails, the tag allocated for the abort request task must be freed. Add the missing call to pm8001_tag_free().

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.111, 5.15.34, 5.16.20, 5.17.3
CVEs
CVE-2022-49121
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 00:44 UTC · Revision 1

Source evidence

scsi: pm8001: Fix tag leaks on error

core-osv · Original source

Published 26 Feb 2025, 01:55 UTC

In the Linux kernel, the following vulnerability has been resolved: scsi: pm8001: Fix tag leaks on error In pm8001_chip_set_dev_state_req(), pm8001_chip_fw_flash_update_req(), pm80xx_chip_phy_ctl_req() and pm8001_chip_reg_dev_req() add missing calls to pm8001_tag_free() to free the allocated tag when pm8001_mpi_build_cmd() fails. Similarly, in pm8001_exec_internal_task_abort(), if the chip ->task_abort method fails, the tag allocated for the abort request task must be freed. Add the missing call to pm8001_tag_free().

osv:CVE-2022-49121

Kernel

Fixed versions: 5.10.111, 5.15.34, 5.16.20, 5.17.3

Complete source record
{
  "id": "2c4aa1b50311ee09c978586957da3093e8467c50eba62bf89e106261f4269999",
  "url": "https://osv.dev/vulnerability/CVE-2022-49121",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: pm8001: Fix tag leaks on error",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: scsi: pm8001: Fix tag leaks on error In pm8001_chip_set_dev_state_req(), pm8001_chip_fw_flash_update_req(), pm80xx_chip_phy_ctl_req() and pm8001_chip_reg_dev_req() add missing calls to pm8001_tag_free() to free the allocated tag when pm8001_mpi_build_cmd() fails. Similarly, in pm8001_exec_internal_task_abort(), if the chip ->task_abort method fails, the tag allocated for the abort request task must be freed. Add the missing call to pm8001_tag_free().",
    "evidence": "osv:CVE-2022-49121",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.111",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.20",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-49121",
      "aliases": [
        "CVE-2022-49121"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dbf9bfe615717d1145f263c0049fe2328e6ed395"
                },
                {
                  "fixed": "a0bb65eadbf942024226241d9d99fed17168940b"
                },
                {
                  "fixed": "43c617eefab7077d69f5989ad3e2a273da1d728b"
                },
                {
                  "fixed": "bdc74815f1c39905054b7d47399e0260b201b14d"
                },
                {
                  "fixed": "9cc72bcc1c096ed42c91646f130d4b4191580a4c"
                },
                {
                  "fixed": "4c8f04b1905cd4b776d0b720463c091545478ef7"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49121.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.33"
                },
                {
                  "fixed": "5.10.111"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.20"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "5.17.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49121.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.604312937Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/43c617eefab7077d69f5989ad3e2a273da1d728b",
        "https://git.kernel.org/stable/c/4c8f04b1905cd4b776d0b720463c091545478ef7",
        "https://git.kernel.org/stable/c/9cc72bcc1c096ed42c91646f130d4b4191580a4c",
        "https://git.kernel.org/stable/c/a0bb65eadbf942024226241d9d99fed17168940b",
        "https://git.kernel.org/stable/c/bdc74815f1c39905054b7d47399e0260b201b14d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49121.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49121",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49121.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49121",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 499366,
  "published_at": "2025-02-26T01:55:01.671+00:00"
}