CVE-2022-48791CWE-416

CVE-2022-48791

High · published July 16, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
15.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00246 · 15.0th percentile
Weakness
CWE-416 · Use After Free
Published
2024-07-16T16:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel< 5.10.1025.10.102
linux/linux_kernel≥ 5.11, < 5.15.255.15.25
linux/linux_kernel≥ 5.16, < 5.16.115.16.11
References (8)
EPSS history
Timeline
  • 16 JUL 11:43Z
    scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    cvelistv5