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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:33:01.896Z
- **Modified:** 2026-11-10T13:17:58.517Z

## Who should check

- Anyone running Linux \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 6d2390653d82cad0e1ba2676e536dd99678f6ef1; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< eccc02ba1747501d92bb2049e3ce378ba372f641; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 1a5c5a2f88e839af5320216a02ffb075b668596a; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< b518e86d1a70a88f6592a7c396cf1b93493d1aab
- Anyone running Linux 6.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 6d2390653d82cad0e1ba2676e536dd99678f6ef1; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< eccc02ba1747501d92bb2049e3ce378ba372f641; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 1a5c5a2f88e839af5320216a02ffb075b668596a; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< b518e86d1a70a88f6592a7c396cf1b93493d1aab (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68371. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68371.md
Affected: Linux >= 2d80f4054f7f901b8ad97358a9069616ac8524c7, < 7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2; >= 2d80f4054f7f901b8ad97358a9069616ac8524c7, < 6d2390653d82cad0e1ba2676e536dd99678f6ef1; >= 2d80f4054f7f901b8ad97358a9069616ac8524c7, < eccc02ba1747501d92bb2049e3ce378ba372f641; >= 2d80f4054f7f901b8ad9735…
Fixed in: Linux 7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2, Linux 6d2390653d82cad0e1ba2676e536dd99678f6ef1, Linux 4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1, Linux 1a5c5a2f88e839af5320216a02ffb075b668596a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68371 being exploited?

There is no confirmed exploitation: CVE-2025-68371 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68371?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68371?

Linux \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 6d2390653d82cad0e1ba2676e536dd99678f6ef1; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< eccc02ba1747501d92bb2049e3ce378ba372f641; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< 1a5c5a2f88e839af5320216a02ffb075b668596a; \>= 2d80f4054f7f901b8ad97358a9069616ac8524c7, \< b518e86d1a70a88f6592a7c396cf1b93493d1aab; Linux 6.0.

### Is there a fix for CVE-2025-68371?

Yes. Fixed in Linux 7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2, Linux 6d2390653d82cad0e1ba2676e536dd99678f6ef1, Linux 4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1, Linux 1a5c5a2f88e839af5320216a02ffb075b668596a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68371?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2>
- other: <https://git.kernel.org/stable/c/6d2390653d82cad0e1ba2676e536dd99678f6ef1>
- other: <https://git.kernel.org/stable/c/eccc02ba1747501d92bb2049e3ce378ba372f641>
- other: <https://git.kernel.org/stable/c/4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1>
- other: <https://git.kernel.org/stable/c/1a5c5a2f88e839af5320216a02ffb075b668596a>
- other: <https://git.kernel.org/stable/c/b518e86d1a70a88f6592a7c396cf1b93493d1aab>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68371>

HTML: <https://flawdb.com/CVE-2025-68371> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68371>
