CVE-2022-49121
scsi: pm8001: Fix tag leaks on error
Check your servers for CVE-2022-49121
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49121 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dbf9bfe615717d1145f263c0049fe2328e6ed395, before a0bb65eadbf942024226241d9d99fed17168940b affected from dbf9bfe615717d1145f263c0049fe2328e6ed395, before 43c617eefab7077d69f5989ad3e2a273da1d728b affected from dbf9bfe615717d1145f263c0049fe2328e6ed395, before bdc74815f1c39905054b7d47399e0260b201b14d affected from dbf9bfe615717d1145f263c0049fe2328e6ed395, before 9cc72bcc1c096ed42c91646f130d4b4191580a4c affected from dbf9bfe615717d1145f263c0049fe2328e6ed395, before 4c8f04b1905cd4b776d0b720463c091545478ef7
Other versions: unaffected
|
| Linux |
affected 2.6.33 unaffected before 2.6.33 unaffected from 5.10.111 up to and including 5.10.* unaffected from 5.15.34 up to and including 5.15.* unaffected from 5.16.20 up to and including 5.16.* unaffected from 5.17.3 up to and including 5.17.* unaffected 5.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49121 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49121
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49121
trivy image --scanners vuln IMAGE | grep CVE-2022-49121
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a0bb65eadbf942024226241d9d99fed17168940b git.kernel.org
- https://git.kernel.org/stable/c/43c617eefab7077d69f5989ad3e2a273da1d728b git.kernel.org
- https://git.kernel.org/stable/c/bdc74815f1c39905054b7d47399e0260b201b14d git.kernel.org
- https://git.kernel.org/stable/c/9cc72bcc1c096ed42c91646f130d4b4191580a4c git.kernel.org
- https://git.kernel.org/stable/c/4c8f04b1905cd4b776d0b720463c091545478ef7 git.kernel.org
Source: the record CVE-2022-49121 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse