CVE-2026-74555

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
19/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: libsas: Fix HA resume deadlock and hisi_sas disk-wake race<br /> <br /> Commit fbefe22811c3 ("scsi: libsas: Don&amp;#39;t always drain event workqueue<br /> for HA resume") introduced sas_resume_ha_no_sync() to avoid a deadlock:<br /> the PHYE_RESUME_TIMEOUT handler, running on the HA event workqueue,<br /> calls sas_deform_port() -&gt; sas_destruct_devices(), which removes SCSI<br /> devices and waits for the host to become runtime-active. But the host<br /> cannot resume until sas_resume_ha() -&gt; sas_drain_work() returns, and the<br /> drain is blocked on that very handler.<br /> <br /> However skipping the drain reintroduces a race: hisi_sas returns from<br /> resume before all PHY UP work and libsas discovery work finish. The<br /> controller may then autosuspend while disks are still waking up. The<br /> disks issue IO to a suspended controller, the IO fails, and the disks<br /> get disabled.<br /> <br /> Fix the deadlock at its source by moving the PHYE_RESUME_TIMEOUT<br /> notification to after sas_drain_work(). By then the host resume is about<br /> to complete, so device removal through device_link no longer blocks on<br /> the resume and the cycle is broken.<br /> <br /> With the deadlock gone, restore sas_resume_ha() (the draining variant)<br /> in hisi_sas and remove sas_resume_ha_no_sync().<br /> <br /> The reorder is safe for the other libsas consumers (isci, pm8001,<br /> aic94xx, mvsas). During suspend, sas_suspend_devices() calls<br /> sas_notify_lldd_dev_gone() for each device, which sets dev-&gt;lldd_dev to<br /> NULL. When scsi_unblock_requests re-enables I/O in resume, any I/O to a<br /> timed-out phy&amp;#39;s disk is immediately rejected by the LLDD before reaching<br /> hardware: isci returns SAS_DEVICE_UNKNOWN (mapped to DID_BAD_TARGET),<br /> and pm8001 returns SAS_PHY_DOWN (mapped to DID_NO_CONNECT). Both<br /> complete directly via scsi_done() without entering SCSI EH. This is<br /> identical in both the old and new ordering since lldd_dev_gone runs<br /> during suspend, before resume. The reorder only affects when the<br /> PHYE_RESUME_TIMEOUT handler runs (synchronized by sas_drain_work()<br /> vs. asynchronous after resume returns), not whether I/O can reach the<br /> device. aic94xx and mvsas do not register any PM ops and never reach<br /> this code path.

Impact