CVE-2026-68173: ublk: wait on ublk_dev_ready() instead of ub->completion

Published Aug 10, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ublk: wait on ublkdevready() instead of ub->completion

ub->completion is only re-armed by a successful STARTUSERRECOVERY. If the ublk server sends ENDUSERRECOVERY without one - e.g. its START failed with -EBUSY and the error was ignored - the wait is satisfied by the stale completion of the previous recovery cycle, and the device is marked LIVE and the requeue list kicked while the FETCH stream is still running and ubq->canceling is still set. The kick redispatches a previously requeued request, ublkqueuerqcommon() sees ->canceling and parks it again via ublkabortrq(), and after the last FETCH clears ->canceling nothing ever kicks the requeue list again: the request is stranded there while holding its tag. If it is the flush machinery's flushrq, every subsequent fsync piles up in uninterruptible sleep and teardown hangs on tag draining. This matches a report of a lost PREFLUSH with ext4 on top of ublk after daemon crash recovery.

ub->completion is an edge-triggered latch used as a proxy for the level condition "every queue has fetched all I/O commands", which can regress (FBATCH's UNPREP, daemon death) and whose re-arm can be skipped. Drop it and wait on the real condition instead: the new helper ublkwaitdevreadyandlock() waits on ublkdevready() via waitvareventinterruptible(), woken from ublkmarkioready(), then re-checks it under ub->mutex, waiting again on regression, and returns with the mutex held and readiness guaranteed.

Readiness becomes true in the same ub->mutex critical section that clears the last queue's ->canceling, so ENDUSERRECOVERY marks the device LIVE and kicks the requeue list strictly after ->canceling clears. The wait stays interruptible, so a server whose daemon died can still be signalled out. For ublkctrlstartdev() this replaces the fail-fast -EINVAL on an FBATCH ready->UNPREP regression with waiting until the device is ready again.

Event History

Aug 10, 2026
CVE Published
via MITRE·11:59 AM
Data Sourced
via MITRE·11:59 AM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68173?

CVE-2026-68173 has a risk score of 37, indicating a moderate level of severity.

2

How do I fix CVE-2026-68173?

To fix CVE-2026-68173, update your Linux kernel to the latest version that includes the vulnerability resolution.

3

What components are affected by CVE-2026-68173?

CVE-2026-68173 affects the ublk subsystem within the Linux kernel.

4

What types of attacks can be facilitated by CVE-2026-68173?

CVE-2026-68173 could allow denial of service attacks if exploited, affecting system availability.

5

When was CVE-2026-68173 published?

CVE-2026-68173 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203