VDB

CVE-2025-68371

CVE-2025-68371 PUBLISHED

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.

PackageEcosystemFixed in
kernel-libbpf-staticAmazon Linux1:6.1.161-183.298.amzn2023
kernel-livepatch-6.12.63-84.121Amazon Linux1:1.0-0.amzn2023
kernel-develAmazon Linux1:6.1.161-183.298.amzn2023
perf6.12Amazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.63-84.121.amzn2023
kernel-libbpf-develAmazon Linux1:6.1.161-183.298.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.161-183.298.amzn2023
kernel-modules-extraAmazon Linux1:6.1.161-183.298.amzn2023
perfAmazon Linux1:6.1.161-183.298.amzn2023
kernel-tools-develAmazon Linux1:6.1.161-183.298.amzn2023
kernel6.12-develAmazon Linux1:6.12.63-84.121.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux2d80f4054f7f901b8ad97358a9069616ac8524c7, 2d80f4054f7f901b8ad97358a9069616ac8524c7, 2d80f4054f7f901b8ad97358a9069616ac8524c7
LinuxLinux6.0, 0, 6.1.160
amazon:2023kernel-libbpf-static0
amazon:2023kernel-livepatch-6.12.63-84.1210
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7
amazon:2023kernel-devel0
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra-common0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.6, 3.1.7
amazon:2023kernel-modules-extra0
amazon:2023perf0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)3.1.6, 3.1.7
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel-headers0
amazon:2023kernel0
SiemensSIMATIC 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›