Skip to main content
← All vulnerabilities
CVE-2026-68396

scsi: core: wake eh reliably when using scsi_schedule_eh

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.160, 6.12.101, 6.18.42, 7.1.6
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: scsi: core: wake eh reliably when using scsi_schedule_eh Drivers which use the scsi_schedule_eh function to run the error handler currently risk the error handler thread never waking once all commands are timed out or inactive. There is no enforced memory order between setting the host into error recovery state and counting busy commands. This can result in a race with scsi_dec_host_busy where neither CPU sees both conditions of all commands inactive and the host error state to request waking the error handler. To fix this, run the scsi_schedule_eh's scsi_eh_wakeup from a new work item which will use rcu to ensure scsi_schedule_eh's call to scsi_host_busy will occur after the error state is globally visible and will be seen by any current scsi_dec_host_busy callers.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6eb045e092efefafc6687409a6fa6d1dabf0fb69 · fixed in 4827c824a203eea2c0aa5bfdb13d5c5038cc84da; From 6eb045e092efefafc6687409a6fa6d1dabf0fb69 · fixed in 866efe8ae8b8b4d095501001b026e1022734be28; From 6eb045e092efefafc6687409a6fa6d1dabf0fb69 · fixed in c7a15091237205770bd9bd4d14eb1f3029d97a34; From 6eb045e092efefafc6687409a6fa6d1dabf0fb69 · fixed in 24d7abda6a2a19e113334accc10029f6a4b57257; From 6eb045e092efefafc6687409a6fa6d1dabf0fb69 · fixed in dccf3b1798b70f94e958b3d00b83010399e6fb05

  • Linux Linux

    5.5

  • KernelLinux

    From 5.5.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6

References 5

git.kernel.org