Bug 2347789 (CVE-2022-49121) - CVE-2022-49121 kernel: scsi: pm8001: Fix tag leaks on error
Summary: CVE-2022-49121 kernel: scsi: pm8001: Fix tag leaks on error
Keywords:
Status: NEW
Alias: CVE-2022-49121
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:06 UTC by OSIDB Bzimport
Modified: 2025-02-26 20:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:06:48 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().

Comment 1 Avinash Hanwate 2025-02-26 20:36:49 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022604-CVE-2022-49121-9a82@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.