# CVE-2025-68371: scsi: smartpqi: Fix device resources accessed after device removal

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-24 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2025-68371, DEBIAN-CVE-2025-68371
- Record: https://cvemate.com/vulnerability/CVE-2025-68371 · JSON: https://cvemate.com/vulnerability/CVE-2025-68371/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

scsi: smartpqi: Fix device resources accessed after device removal

Correct possible race conditions during device removal.

Previously, a scheduled work item to reset a LUN could still execute
after the device was removed, leading to use-after-free and other
resource access issues.

This race condition occurs because the abort handler may schedule a LUN
reset concurrently with device removal via sdev_destroy(), leading to
use-after-free and improper access to freed resources.

  - Check in the device reset handler if the device is still present in
    the controller's SCSI device list before running; if not, the reset
    is skipped.

  - Cancel any pending TMF work that has not started in sdev_destroy().

  - Ensure device freeing in sdev_destroy() is done while holding the
    LUN reset mutex to avoid races with ongoing resets.
```

## Signals

- CVSS: none published
- EPSS: 0.242%, percentile 16.409%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.63-1 \| \< 6.17.13-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-110.110 \| \< 6.17.0-19.19
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1052.55 \| \< 6.17.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1009.9~24.04.2
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1054.60 \| \< 6.17.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 32)

- <https://git.kernel.org/stable/c/7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2>
- <https://git.kernel.org/stable/c/6d2390653d82cad0e1ba2676e536dd99678f6ef1>
- <https://git.kernel.org/stable/c/eccc02ba1747501d92bb2049e3ce378ba372f641>
- <https://git.kernel.org/stable/c/4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1>
- <https://git.kernel.org/stable/c/1a5c5a2f88e839af5320216a02ffb075b668596a>
- <https://git.kernel.org/stable/c/b518e86d1a70a88f6592a7c396cf1b93493d1aab>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2025-68371>
- <https://www.cve.org/CVERecord?id=CVE-2025-68371>
- <https://ubuntu.com/security/notices/USN-8094-1>
- <https://ubuntu.com/security/notices/USN-8094-2>
- <https://ubuntu.com/security/notices/USN-8094-3>
- <https://ubuntu.com/security/notices/USN-8094-4>
- <https://ubuntu.com/security/notices/USN-8094-5>
- <https://ubuntu.com/security/notices/USN-8152-1>
- <https://ubuntu.com/security/notices/USN-8179-1>
- <https://ubuntu.com/security/notices/USN-8184-1>
- <https://ubuntu.com/security/notices/USN-8179-2>
- <https://ubuntu.com/security/notices/USN-8185-1>
- <https://ubuntu.com/security/notices/USN-8179-3>

---

Data as of 2026-12-05T04:47:10.508Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
