Skip to content
Heist/ feed
Unrated

scsi: core: Wake up the error handler when final completions race against each other

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: scsi: core: Wake up the error handler when final completions race against each other The fragile ordering between marking commands completed or failed so that the error handler only wakes when the last running command completes or times out has race conditions. These race conditions can cause the SCSI layer to fail to wake the error handler, leaving I/O through the SCSI host stuck as the error state cannot advance. First, there is an memory ordering issue within scsi_dec_host_busy(). The write which clears SCMD_STATE_INFLIGHT may be reordered with reads counting in scsi_host_busy(). While the local CPU will see its own write, reordering can allow other CPUs in scsi_dec_host_busy() or scsi_eh_inc_host_failed() to see a raised busy count, causing no CPU to see a host busy equal to the host_failed count. This race condition can be prevented with a memory barrier on the error path to force the write to be visible before counting host busy commands. Second, there is a general ordering issue with scsi_eh_inc_host_failed(). By counting busy commands before incrementing host_failed, it can race with a final command in scsi_dec_host_busy(), such that scsi_dec_host_busy() does not see host_failed incremented but scsi_eh_inc_host_failed() counts busy commands before SCMD_STATE_INFLIGHT is cleared by scsi_dec_host_busy(), resulting in neither waking the error handler task. This needs the call to scsi_host_busy() to be mo

Announced Source revision 1
Original source ↗

CVE-2026-23110

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-23110

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6eb045e092efefafc6687409a6fa6d1dabf0fb69",
        "lessThan": "cc872e35c0df80062abc71268d690a2f749e542e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6eb045e092efefafc6687409a6fa6d1dabf0fb69",
        "lessThan": "6d9a367be356101963c249ebf10ea10b32886607",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6eb045e092efefafc6687409a6fa6d1dabf0fb69",
        "lessThan": "9fdc6f28d5e81350ab1d2cac8389062bd09e61e1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6eb045e092efefafc6687409a6fa6d1dabf0fb69",
        "lessThan": "64ae21b9c4f0c7e60cf47a53fa7ab68852079ef0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6eb045e092efefafc6687409a6fa6d1dabf0fb69",
        "lessThan": "219f009ebfd1ef3970888ee9eef4c8a06357f862",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6eb045e092efefafc6687409a6fa6d1dabf0fb69",
        "lessThan": "fe2f8ad6f0999db3b318359a01ee0108c703a8c3",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/scsi/scsi_error.c",
      "drivers/scsi/scsi_lib.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.5"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.5",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.249",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.162",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.122",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.68",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.8",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/scsi/scsi_error.c",
      "drivers/scsi/scsi_lib.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-23110

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#39756 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement