Skip to content
Heist/ feed
Unrated

ublk: reset per-IO canceled flag on each fetch

Type: advisorySource: Official CVE List1 source record

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).

Announced Group revision 1
Original source ↗

CVE-2026-53124

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-53124

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b",
        "lessThan": "de05e37d02f3f33ebca4967164e54f5fea809d86",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b",
        "lessThan": "63335e5a67d89bb7cb9b023bbb3785896587a648",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b",
        "lessThan": "0842186d2c4e67d2f8c8c2d1d779e8acffd41b5b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "42ea64e01c96e594fb4f80c54dfe4f934d008a6e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.14.6",
        "lessThan": "6.15",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/block/ublk_drv.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.15"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.15",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/block/ublk_drv.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-53124

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#28613 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement