An io_uring soft link depends on every completion path reporting failure
Linux 7.3.7 corrected several io_uring paths where a soft-linked request could fail or be canceled without stopping its dependents. The fixes illustrate that asynchronous dependency semantics must be preserved at every completion boundary.
A link encodes a dependency, not just an order
io_uring lets an application place several operations in a submission queue and collect their results later. A linked chain adds a dependency: a request marked with IOSQE_IO_LINK is followed by another request that must wait for it. With the ordinary soft link, an unsuccessful operation breaks the chain and cancels the unstarted remainder. A hard link expresses a different policy: continue the chain despite an operation result error. [3]
That distinction is useful when later work is meaningful only if an earlier step succeeded. A read followed by a transform and a write is not merely three tasks that happen to be listed in order. The write may rely on the read having supplied the expected bytes. Linking lets the kernel manage this dependency without requiring userspace to wait for each completion before submitting the next operation. But the guarantee only holds if the kernel consistently recognizes failure wherever a request completes.
Linux 7.3.7 exposed several ways to lose that failure
The Linux 7.3.7 stable release was published on 30 November 2026. Its changelog includes three io_uring fixes around soft-linked requests: a short or failed IOPOLL read/write, cancellation of a futex wait, and a negative result returned through IOU_COMPLETE. In each case, the completion path could record an unsuccessful result without marking the request as a chain failure, allowing dependent soft-linked work to proceed. [1] [2]
The changelog describes distinct paths, not one generic “io_uring is broken” condition. IOPOLL has a completion route that did not call the helper used to mark failure when a transfer was short or erroneous. The futex cancellation path completed with -ECANCELED but likewise omitted the failure marker. A core completion refactor also dropped the negative-result check for some operations returning IOU_COMPLETE. These are separate control-flow gaps with the same observable mismatch: the completion result says failure, while the dependency chain behaves as though it may continue.
The release page dates 7.3.7 to 30 November. The changelog entries identify their upstream commits as dated 21 November, so the fixes’ development dates and the stable release date should not be collapsed into one event date. This article covers the release on 30 November; publication is 2 December. [1] [2]
A failed result and a broken chain are connected state
A completion queue entry is a message back to userspace, but it also participates in the kernel’s dependency bookkeeping. Reporting a negative result is not by itself equivalent to telling the chain scheduler to stop. The failed operation must update both pieces of state: the result consumers inspect, and the state that decides whether later linked requests may start. If those updates diverge, a program can observe an error for one operation and still see a dependent operation run.
That can undermine the reason for constructing a chain. For example, an application may submit a read and then a linked write that consumes the read buffer. If the operation reports a short read as failure for that use case but the dependency machinery treats it as success, the later request can run on data the application did not intend to accept. The precise meaning of a short result depends on the operation and application contract; the changelog specifically identifies the IOPOLL path as needing to fail the soft link. The general lesson is to make “acceptable completion” explicit rather than assume every nonnegative byte count satisfies a full-length operation.
Review the outcome policy at the dependency boundary
When reviewing an asynchronous chain, write down the allowed result for each operation and the consequence for its dependents. A full-length read may permit the next stage; a short read may require cancellation; a canceled wait should not silently authorize work that depended on the wait; and a negative completion should break a soft link. Keep this policy distinct from hard-link behavior, where continuing after a result error is an intentional choice. The linked-request documentation describes the soft/hard distinction and the ordering rules; the changelog shows how a single missed failure transition can violate it. [3] [2]
A focused regression matrix follows naturally from the fixes: exercise an IOPOLL short transfer, an IOPOLL error, cancellation of a linked futex wait, and a negative result completed through the core path. For each, observe the head completion and verify that the remaining soft-linked requests are canceled rather than executed. Then include a hard-linked chain to confirm that its different continuation policy remains intact, along with an unrelated request to ensure the failure stays scoped to its chain. This is a proposed review plan derived from the documented fixes, not a claim that these tests were run for this article.
The broader systems principle is that an asynchronous API’s contract spans every route that can finish an operation: normal completion, polling, cancellation, retry, and shared completion helpers. A refactor can preserve the visible result while losing the state transition that gives the result its meaning. Tests should therefore cover the edges between completion mechanisms and dependency policy, not only the success path through the most common operation.