5.7

CVE-2026-99202: scsi: libsas: Fix SMP IO deadlock during HA resume

Received
AliasesDEBIAN-CVE-2026-99202UBUNTU-CVE-2026-99202
Published 28-10-2026Last modified 30-10-2026

Vulnerability summary

CVE-2026-99202 is a medium (CVSS 5.7) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.7/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.17%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 2

Timeline

  1. 28-10-2026
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

29-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu169 products
  • linuxAll versions (No fix recorded) | < 6.8.0-151.151 | < 7.3.0-10.10 | < 7.0.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76 | < 7.3.0-1004.4 | < 7.0.0-1018.19
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.115-2 | < 7.2.13-1
  • linux-6.12< 6.12.115-2~deb12u1
Linux1 product
  • linux≥ 09357f067122e2e28ec52e27013a1660a1571618, < ab91a558084fdb8cca4919ffb769ca4328e91bbd | ≥ e50a6523a603594a6d92cdecfe11997d639410a3, < 6078a5369f9e8d22bb03b8890cb0bb47c91a5017 | ≥ c391b5899dd46485a5893696c12ae3e95a3a7325, < 7004c18c38aaa2b87164b54dd77c320b4c63b89b | ≥ 9e24b47ef81d43b3fb1b14294f09991640c79fcc, < c9fb89246d9922ac0a45d504adb03e0bb971310c | ≥ 3dbbbf656b850c9c8de05df6ad4a1dfc6ff02845, < 08b95ef36a64c3ae4490794bed3c35d0c3354e85 | ≥ 3dbbbf656b850c9c8de05df6ad4a1dfc6ff02845, < 81e097a064b28b4a1f6ca1a8b433e659c1bd64c0 | b9c44a14062093e9fc2d6bddc696cfceadb482d7 | ≥ 6.1.183, < 6.1.191 | ≥ 6.6.151, < 6.6.161 | ≥ 6.12.103, < 6.12.115 | ≥ 6.18.44, < 6.18.59 | ≥ 7.1.8, < 7.2 | 7.2

3 vendors · 172 products

References

11 links
Show all 11 references