CVE-2022-49121

scsi: pm8001: Fix tag leaks on error

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.1112.6.33 ≤ v < 5.10.1112.6.33 ≤ v < 5.15.342.6.33 ≤ v < 5.16.202.6.33 ≤ v < 5.17.32.6.33 ≤ v < 5.185.11 ≤ v < 5.15.345.16 ≤ v < 5.16.205.17 ≤ v < 5.17.32.6.33dbf9bfe615717d1145f263c0049fe2328e6ed395
Vendor states this is fixed in 43c617eefab7077d69f5989ad3e2a273da1d728b (fixed)
Vendor states this is fixed in 4c8f04b1905cd4b776d0b720463c091545478ef7 (fixed)
Vendor states this is fixed in 9cc72bcc1c096ed42c91646f130d4b4191580a4c (fixed)
Vendor states this is fixed in a0bb65eadbf942024226241d9d99fed17168940b (fixed)
Vendor states this is fixed in bdc74815f1c39905054b7d47399e0260b201b14d (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 5.10.111 (unaffected)
Vendor states this is fixed in 5.15.34 (unaffected)
Vendor states this is fixed in 5.16.20 (unaffected)
Vendor states this is fixed in 5.17.3 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/43c617eefab7077d69f5989ad3e2a273da1d728b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c8f04b1905cd4b776d0b720463c091545478ef7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9cc72bcc1c096ed42c91646f130d4b4191580a4c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0bb65eadbf942024226241d9d99fed17168940b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bdc74815f1c39905054b7d47399e0260b201b14d

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card