CVE-2022-48792
published high CVSS 3.1 · 7.8scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux869ddbdcae3b4fb83b99889abae31544c149b210 to < fe9ac3eaa2e387a5742b380b73a5a6bc237bf184 · 869ddbdcae3b4fb83b99889abae31544c149b210 to < d9d93f32534a0a80a1c26bdb0746d90a7b19c2c2 · 869ddbdcae3b4fb83b99889abae31544c149b210 to < f61f9fccb2cb4bb275674a79d638704db6bc2171 · 869ddbdcae3b4fb83b99889abae31544c149b210 to < df7abcaa1246e2537ab4016077b5443bb3c09378 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 5.10.102 through 5.10.* (unaffected · semver) · 5.15.25 through 5.15.* (unaffected · semver) · 5.16.11 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.225.2 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-azurex86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_201-defaultppc64le | Advisory build | 14-2.1 | SUSE-SU-2025:0908-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_201-defaults390x | Advisory build | 14-2.1 | SUSE-SU-2025:0908-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_201-defaultx86_64 | Advisory build | 14-2.1 | SUSE-SU-2025:0908-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_216-defaultppc64le | Advisory build | 12-2.1 | SUSE-SU-2025:0892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_216-defaults390x | Advisory build | 12-2.1 | SUSE-SU-2025:0892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_216-defaultx86_64 | Advisory build | 12-2.1 | SUSE-SU-2025:0892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaultppc64le | Advisory build | 9-2.1 | SUSE-SU-2025:0904-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaults390x | Advisory build | 9-2.1 | SUSE-SU-2025:0904-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaultx86_64 | Advisory build | 9-2.1 | SUSE-SU-2025:0904-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_222-defaultppc64le | Advisory build | 7-2.1 | SUSE-SU-2025:0893-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_222-defaults390x | Advisory build | 7-2.1 | SUSE-SU-2025:0893-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_222-defaultx86_64 | Advisory build | 7-2.1 | SUSE-SU-2025:0893-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_225-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_225-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_225-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultaarch64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultppc64le | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaults390x | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultx86_64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150200.24.200.1.150200.9.103.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseppc64le | Advisory build | 5.3.18-150200.24.200.1.150200.9.103.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-bases390x | Advisory build | 5.3.18-150200.24.200.1.150200.9.103.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-basex86_64 | Advisory build | 5.3.18-150200.24.200.1.150200.9.103.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develaarch64 | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develppc64le | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-devels390x | Advisory build | 5.3.18-150200.24.200.1 | SUSE-SU-2024:2923-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task Currently a use-after-free may occur if a sas_task is aborted by the upper layer before we handle the I/O completion in mpi_ssp_completion() or mpi_sata_completion(). In this case, the following are the two steps in handling those I/O completions: - Call complete() to inform the upper layer handler of completion of the I/O. - Release driver resources associated with the sas_task in pm8001_ccb_task_free() call. When complete() is called, the upper layer may free the sas_task. As such, we should not touch the associated sas_task afterwards, but we do so in the pm8001_ccb_task_free() call. Fix by swapping the complete() and pm8001_ccb_task_free() calls ordering.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is in the PMC-Sierra pm8001 PCIe SAS/SATA HBA driver completion handlers (mpi_ssp_completion/mpi_sata_completion), reached via local SCSI I/O through libsas, not via network protocols or physical peripheral attachment. AC:L - This is a use-after-free on aborted SSP/STP sas_task completion; an attacker who can submit I/O can drive aborts and completions (including via short SG_IO timeouts or error recovery), and both sides of the free-vs-use race are attacker-influenceable on SMP. PR:L - Any unprivileged local user who can generate I/O to storage backed by this HBA (filesystem writes or SCSI generic access) can reach the queuecommand/abort/completion path; root or init-namespace CAP_SYS_ADMIN is not required. UI:N - Exploitation requires only attacker-initiated I/O and abort/completion activity; no separate victim user action is needed. S:U - The UAF corrupts kernel memory in the host kernel's SCSI/libsas authority and does not cross a VM, IOMMU, or other security boundary. C:H - Use-after-free of sas_task enables control of freed object contents (heap spray), which can be leveraged for arbitrary kernel memory disclosure. I:H - pm8001_ccb_task_free reads task fields and writes through the freed sas_task (including dma_unmap_sg based on attacker-influenced state), enabling arbitrary write/control-flow hijacking primitives. A:H - Use-after-free in IRQ/tasklet completion path can cause kernel oops/panic even when not fully exploited for code execution.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 869ddbdcae3b4fb83b99889abae31544c149b210 to < fe9ac3eaa2e387a5742b380b73a5a6bc237bf184 (affected · git)869ddbdcae3b4fb83b99889abae31544c149b210 to < d9d93f32534a0a80a1c26bdb0746d90a7b19c2c2 (affected · git)869ddbdcae3b4fb83b99889abae31544c149b210 to < f61f9fccb2cb4bb275674a79d638704db6bc2171 (affected · git)869ddbdcae3b4fb83b99889abae31544c149b210 to < df7abcaa1246e2537ab4016077b5443bb3c09378 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)5.10.102 through 5.10.* (unaffected · semver)5.15.25 through 5.15.* (unaffected · semver)5.16.11 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cda0a29db954280266cf2889b62e6bf865ea6b5b931225f03a796b1638c6a3e4
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record