scsi: core: Run queues for all non-SDEV_DEL devices from scsi_run_host_queues (Linux Linux)

CVE-2026-64003
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.44 % · percentile 38 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: core: Run queues for all non-SDEV_DEL devices from scsi_run_host_queues While a SCSI host is in a recovery state, scsi_mq_requeue_cmd() will not set the requeue list for a requeued command to be kicked in the future. The expectation is a call to scsi_run_host_queues() will kick all SCSI devices once the recovery state is cleared. However, scsi_run_host_queues() uses shost_for_each_device() which uses scsi_device_get() and so will ignore devices in a partially removed state like SDEV_CANCEL. But these devices may also have requeued requests, leaving their requests stuck from not being kicked and causing the removal process of the device to hang. scsi_run_host_queues() needs to run against more devices than the macro shost_for_each_device() allows. Instead of using the too limiting scsi_device_get() state checks, only ignore devices in SDEV_DEL state or when unable to acquire a reference. Attempt to run the queues for all other devices when scsi_run_host_queues() is called.

Weaknesses (CWE)

  • CWE-400 — Uncontrolled Resource Consumption
  • CWE-772 — Missing Release of Resource after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8b566edbdbfb5cde31a322c57932694ff48125ed < 15fb19af49f2073ed77fad16aaabc648b0ca6800 ; affected 8b566edbdbfb5cde31a322c57932694ff48125ed < d4dddfecdbb5467bef158d4e1486459808357fef ; affected 8b566edbdbfb5cde31a322c57932694ff48125ed < 475f2b37a78f4c698967a7f14f325f04e24c9175 ; affected 8b566edbdbfb5cde31a322c57932694ff48125ed < c740e13e7fe32d8e4d9a1699f65b8daf6709895a ; affected 8b566edbdbfb5cde31a322c57932694ff48125ed < 7205b58702273baf21d6ba7992e6ba15852325f7
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.143 ≤ 6.6.* ; unaffected 6.12.93 ≤ 6.12.* ; unaffected 6.18.35 ≤ 6.18.* ; unaffected 7.0.12 ≤ 7.0.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD