{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68371","id":"CVE-2025-68371","title":"scsi: smartpqi: Fix device resources accessed after device removal","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: smartpqi: Fix device resources accessed after device removal\n\nCorrect possible race conditions during device removal.\n\nPreviously, a scheduled work item to reset a LUN could still execute\nafter the device was removed, leading to use-after-free and other\nresource access issues.\n\nThis race condition occurs because the abort h","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: smartpqi: Fix device resources accessed after device removal\n\nCorrect possible race conditions during device removal.\n\nPreviously, a scheduled work item to reset a LUN could still execute\nafter the device was removed, leading to use-after-free and other\nresource access issues.\n\nThis race condition occurs because the abort handler may schedule a LUN\nreset concurrently with device removal via sdev_destroy(), leading to\nuse-after-free and improper access to freed resources.\n\n  - Check in the device reset handler if the device is still present in\n    the controller's SCSI device list before running; if not, the reset\n    is skipped.\n\n  - Cancel any pending TMF work that has not started in sdev_destroy().\n\n  - Ensure device freeing in sdev_destroy() is done while holding the\n    LUN reset mutex to avoid races with ongoing resets.","published":"2025-12-24T10:33:01.896Z","updated":"2026-11-12T02:30:50.061754250Z","reserved":"2025-12-16T14:48:05.309Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2d80f4054f7f901b8ad97358a9069616ac8524c7","lessThan":"7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2","status":"affected","versionType":"git"},{"version":"2d80f4054f7f901b8ad97358a9069616ac8524c7","lessThan":"6d2390653d82cad0e1ba2676e536dd99678f6ef1","status":"affected","versionType":"git"},{"version":"2d80f4054f7f901b8ad97358a9069616ac8524c7","lessThan":"eccc02ba1747501d92bb2049e3ce378ba372f641","status":"affected","versionType":"git"},{"version":"2d80f4054f7f901b8ad97358a9069616ac8524c7","lessThan":"4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1","status":"affected","versionType":"git"},{"version":"2d80f4054f7f901b8ad97358a9069616ac8524c7","lessThan":"1a5c5a2f88e839af5320216a02ffb075b668596a","status":"affected","versionType":"git"},{"version":"2d80f4054f7f901b8ad97358a9069616ac8524c7","lessThan":"b518e86d1a70a88f6592a7c396cf1b93493d1aab","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.1.160","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.63","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.13","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18.2","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7dfa5a5516ec3c6b9b6c22ee18f0eb2df3f38ef2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6d2390653d82cad0e1ba2676e536dd99678f6ef1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/eccc02ba1747501d92bb2049e3ce378ba372f641","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4e1acf1b6dd6dd0495bda139daafd7a403ae2dc1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1a5c5a2f88e839af5320216a02ffb075b668596a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b518e86d1a70a88f6592a7c396cf1b93493d1aab","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68371.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68371","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00198,"epssPercentile":0.09662,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68371","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68371","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68371","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68371","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}