CVE-2022-48791: scsi: pm8001: Fix use-after-free for aborted TMF sas_task
Vulnerability summary
CVE-2022-48791 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.9% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 22 · Related 22Timeline
- 16-07-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: pm8001: Fix use-after-free for aborted TMF sas_task Currently a use-after-free may occur if a TMF sas_task is aborted before we handle the IO completion in mpi_ssp_completion(). The abort occurs due to timeout. When the timeout occurs, the SAS_TASK_STATE_ABORTED flag is set and the sas_task is freed in pm8001_exec_internal_tmf_task(). However, if the I/O completion occurs later, the I/O completion still thinks that the sas_task is available. Fix this by clearing the ccb->task if the TMF times out - the I/O completion handler does nothing if this pointer is cleared.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu94 products
- linuxAll versions (No fix recorded) | < 4.4.0-259.293 | < 4.15.0-229.241 | < 5.4.0-196.216
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1136.142 | < 4.4.0-1174.189 | < 4.15.0-1173.186 | < 5.4.0-1133.143
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Suse5 products
- kernel-rt&distro=SUSE Linux Enterprise Micro 5.1< 5.3.18-150300.184.1
- kernel-rt&distro=SUSE Linux Enterprise Micro 5.2< 5.3.18-150300.184.1
- kernel-source-rt&distro=SUSE Linux Enterprise Micro 5.1< 5.3.18-150300.184.1
- kernel-source-rt&distro=SUSE Linux Enterprise Micro 5.2< 5.3.18-150300.184.1
- kgraft-patch-SLE12-SP5_Update_60&distro=SUSE Linux Enterprise Live Patching 12 SP5< 6-2.1
Linux2 products
- linux≥ 968ee9176a4489ce6d5ee54ff88dadfbff9b95f4, < d872e7b5fe38f325f5206b6872746fa02c2b4819 | ≥ d712d3fb484b7fa8d1d57e9ca6f134bb9d8c18b1, < 3c334cdfd94945b8edb94022a0371a8665b17366 | ≥ d712d3fb484b7fa8d1d57e9ca6f134bb9d8c18b1, < 510b21442c3a2e3ecc071ba3e666b320e7acdd61 | ≥ d712d3fb484b7fa8d1d57e9ca6f134bb9d8c18b1, < 61f162aa4381845acbdc7f2be4dfb694d027c018 | fa3c19ceaa8b4b7c29d710c2c407df57d256a6c5 | ≥ 5.10.61, < 5.10.102 | ≥ 5.13.13, < 5.14 | 5.14
- linux_kernel< 5.10.102 | ≥ 5.11, < 5.15.25 | ≥ 5.16, < 5.16.11
Debian1 product
- linux< 5.16.11-1
4 vendors · 102 products