CVE-2025-68371
scsi: smartpqi: Fix device resources accessed after device removal
Reported by linux · Published December 24, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-static | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-livepatch-6.12.63-84.121 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| perf | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2d80f4054f7f901b8ad97358a9069616ac8524c7, 2d80f4054f7f901b8ad97358a9069616ac8524c7, 2d80f4054f7f901b8ad97358a9069616ac8524c7 |
| Linux | Linux | 6.0, 0, 6.1.160 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.12.63-84.121 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.7 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.6, 3.1.7 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | perf | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.6, 3.1.7 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.7, 3.1.6 |
…and 20 more
Timeline
- Dec 23, 2025 CVE Published
- Dec 24, 2025 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (141 in total, the first dated here)
- Mar 29, 2026 Security Advisory (147 in total, the first dated here)
- Sep 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-68371
vulnetix vdb fixes CVE-2025-68371
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68371/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart