CVE-2026-68396 PUBLISHED

scsi: core: wake eh reliably when using scsi_schedule_eh

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 6eb045e092efefafc6687409a6fa6d1dabf0fb69 to 866efe8ae8b8b4d095501001b026e1022734be28 (excl.)
  • affected from 6eb045e092efefafc6687409a6fa6d1dabf0fb69 to c7a15091237205770bd9bd4d14eb1f3029d97a34 (excl.)
  • affected from 6eb045e092efefafc6687409a6fa6d1dabf0fb69 to 24d7abda6a2a19e113334accc10029f6a4b57257 (excl.)
  • affected from 6eb045e092efefafc6687409a6fa6d1dabf0fb69 to dccf3b1798b70f94e958b3d00b83010399e6fb05 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.5 is affected
  • unaffected from 0 to 5.5 (excl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc4 to * (incl.)

References