CVE-2026-53124

ublk: reset per-IO canceled flag on each fetch

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Oct 15, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

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

ublk: reset per-IO canceled flag on each fetch

If a ublk server starts recovering devices but dies before issuing fetch commands for all IOs, cancellation of the fetch commands that were successfully issued may never complete. This is because the per-IO canceled flag can remain set even after the fetch for that IO has been submitted - the per-IO canceled flags for all IOs in a queue are reset together only once all IOs for that queue have been fetched. So if a nonempty proper subset of the IOs for a queue are fetched when the ublk server dies, the IOs in that subset will never successfully be canceled, as their canceled flags remain set, and this prevents ublk_cancel_cmd from actually calling io_uring_cmd_done on the commands, despite the fact that they are outstanding.

Fix this by resetting the per-IO cancel flags immediately when each IO is fetched instead of waiting for all IOs for the queue (which may never happen).

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b to before de05e37d02f3f33ebca4967164e54f5fea809d86Affected
  • 728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b to before 63335e5a67d89bb7cb9b023bbb3785896587a648Affected
  • 728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b to before 0842186d2c4e67d2f8c8c2d1d779e8acffd41b5bAffected
  • 42ea64e01c96e594fb4f80c54dfe4f934d008a6eAffected
  • 6.14.6 to before 6.15Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.