-
CVE-2026-99202
- EPSS 0.17%
- Veröffentlicht 28.10.2026 10:35:56
- Zuletzt bearbeitet 30.10.2026 13:21:52
- Erkennungen
scsi: libsas: Fix SMP IO deadlock during HA resume
In the Linux kernel, the following vulnerability has been resolved: scsi: libsas: Fix SMP IO deadlock during HA resume smp_execute_task_sg() calls pm_runtime_get_sync() on the host before issuing an SMP command. When that command is itself issued from the HA resume path, the get_sync() deadlocks: it waits for the ongoing resume (the device is RPM_RESUMING), while the resume is blocked in sas_drain_work() waiting for that same SMP IO to complete. The deadlock needs an expander-attached SATA disk. During sas_resume_ha() -> sas_drain_work(), DISCE_RESUME -> sas_resume_sata() -> ata_sas_port_resume() requests ATA_EH_RESET, and the hard reset for such a disk is done via SMP PHY CONTROL (sas_ata_hard_reset() -> sas_phy_reset() -> sas_smp_phy_control() -> smp_execute_task_sg()). Direct-attached SATA resets through lldd_control_phy() and SSP devices use TMFs, so neither hits this. Replace the get_sync()/put_sync() pair with pm_runtime_get_noresume()/pm_runtime_put(). smp_execute_task_sg() only needs to hold off autosuspend while the SMP is in flight, and it must not try to resume the host: a sync resume issued from the HA resume path itself is what deadlocks, and by the time sas_resume_ha() runs, hw_init has already reinitialized the hardware, so the device is accessible without one. The usage reference is still required. Discovery work normally runs inside an event worker's PM reference, taken at sas_notify_port_event() notify time and held until the handler has flushed the disco queue. sas_rediscover_ex_phy() however requeues DISCE_REVALIDATE_DOMAIN from within the revalidation worker itself, and flush_workqueue() does not wait for work items queued during execution, so that chained revalidation runs with no outer PM reference - without the get_noresume(), its SMP could race autosuspend. For the BSG path, sas_smp_handler() is the only caller which may find the host autosuspended: expander SMP requests do not go through any SCSI device request queue, so nothing else in that path holds the host awake. Resume it there with pm_runtime_resume_and_get() and check the result.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt
Linux
Default Statusunaffected
Version
09357f067122e2e28ec52e27013a1660a1571618
Version <
ab91a558084fdb8cca4919ffb769ca4328e91bbd
Status
affected
Version
e50a6523a603594a6d92cdecfe11997d639410a3
Version <
6078a5369f9e8d22bb03b8890cb0bb47c91a5017
Status
affected
Version
c391b5899dd46485a5893696c12ae3e95a3a7325
Version <
7004c18c38aaa2b87164b54dd77c320b4c63b89b
Status
affected
Version
9e24b47ef81d43b3fb1b14294f09991640c79fcc
Version <
c9fb89246d9922ac0a45d504adb03e0bb971310c
Status
affected
Version
3dbbbf656b850c9c8de05df6ad4a1dfc6ff02845
Version <
08b95ef36a64c3ae4490794bed3c35d0c3354e85
Status
affected
Version
3dbbbf656b850c9c8de05df6ad4a1dfc6ff02845
Version <
81e097a064b28b4a1f6ca1a8b433e659c1bd64c0
Status
affected
Version
b9c44a14062093e9fc2d6bddc696cfceadb482d7
Status
affected
Version
6.1.183
Version <
6.1.191
Status
affected
Version
6.6.151
Version <
6.6.161
Status
affected
Version
6.12.103
Version <
6.12.115
Status
affected
Version
6.18.44
Version <
6.18.59
Status
affected
Version
7.1.8
Version <
7.2
Status
affected
HerstellerLinux
≫
Produkt
Linux
Default Statusaffected
Version
7.2
Status
affected
Version
0
Version <
7.2
Status
unaffected
Version <=
6.1.*
Version
6.1.191
Status
unaffected
Version <=
6.6.*
Version
6.6.161
Status
unaffected
Version <=
6.12.*
Version
6.12.115
Status
unaffected
Version <=
6.18.*
Version
6.18.59
Status
unaffected
Version <=
7.2.*
Version
7.2.13
Status
unaffected
Version <=
*
Version
7.3
Status
unaffected
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.17% | 0.059 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|
https://git.kernel.org/stable/c/c9fb89246d9922ac0a45d504adb03e0bb971310c
https://git.kernel.org/stable/c/08b95ef36a64c3ae4490794bed3c35d0c3354e85
https://git.kernel.org/stable/c/81e097a064b28b4a1f6ca1a8b433e659c1bd64c0
https://git.kernel.org/stable/c/6078a5369f9e8d22bb03b8890cb0bb47c91a5017
https://git.kernel.org/stable/c/7004c18c38aaa2b87164b54dd77c320b4c63b89b
https://git.kernel.org/stable/c/ab91a558084fdb8cca4919ffb769ca4328e91bbd