CVE-2026-100055 (GCVE-0-2026-100055)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:23 – Updated: 2026-12-01 05:40
VLAI
Title
ublk: mark the io command cancelable before publishing it
Summary
In the Linux kernel, the following vulnerability has been resolved: ublk: mark the io command cancelable before publishing it FETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io->cmd before marking it cancelable. A cancel from the control path (STOP_DEV, QUIESCE_DEV) can complete it in between: issue path control-path cancel io->cmd = C take C, io_uring_cmd_done(C): C not marked, nothing to unlink ublk_prep_cancel(C) the completed C is linked on the cancelable list ring exit: the cancel walk hits it → GPF (KASAN, with a delay added) Mark the command before ublk_fill_io_cmd() publishes it. The handlers run with uring_lock held, as io_uring's cancel walk does, so marking takes no lock and the walk can't see a marked command before it is published. smp_wmb() orders the mark before the io->cmd store; the cancel loads cmd with READ_ONCE(io->cmd) before reading cmd->flags. A marked command has to be completed by io_uring_cmd_done(), so a failed FETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE is the same.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 216c8f5ef0f209a3797292c487bdaa6991ab4b92 , < f1de3e25aa13a74c6580cb922be3522c51407885 (git)
Affected: 216c8f5ef0f209a3797292c487bdaa6991ab4b92 , < 49e950f877abdf49427c252d328727a4fc9e8625 (git)
Affected: 216c8f5ef0f209a3797292c487bdaa6991ab4b92 , < 9a735ee97f7f381374cf10e53acc4c97829c8939 (git)
Affected: 216c8f5ef0f209a3797292c487bdaa6991ab4b92 , < a261f0cacacc022e4fab5b8e38c59f74ce4942e8 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.7
Unaffected: 0 , < 6.7 (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/block/ublk_drv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f1de3e25aa13a74c6580cb922be3522c51407885",
              "status": "affected",
              "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
              "versionType": "git"
            },
            {
              "lessThan": "49e950f877abdf49427c252d328727a4fc9e8625",
              "status": "affected",
              "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
              "versionType": "git"
            },
            {
              "lessThan": "9a735ee97f7f381374cf10e53acc4c97829c8939",
              "status": "affected",
              "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
              "versionType": "git"
            },
            {
              "lessThan": "a261f0cacacc022e4fab5b8e38c59f74ce4942e8",
              "status": "affected",
              "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/block/ublk_drv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nublk: mark the io command cancelable before publishing it\n\nFETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io-\u003ecmd\nbefore marking it cancelable. A cancel from the control path (STOP_DEV,\nQUIESCE_DEV) can complete it in between:\n\n  issue path                       control-path cancel\n  io-\u003ecmd = C\n                                   take C, io_uring_cmd_done(C):\n                                     C not marked, nothing to unlink\n  ublk_prep_cancel(C)\n    the completed C is linked on the cancelable list\n  ring exit: the cancel walk hits it \u2192 GPF (KASAN, with a delay added)\n\nMark the command before ublk_fill_io_cmd() publishes it. The handlers\nrun with uring_lock held, as io_uring\u0027s cancel walk does, so marking\ntakes no lock and the walk can\u0027t see a marked command before it is\npublished. smp_wmb() orders the mark before the io-\u003ecmd store; the\ncancel loads cmd with READ_ONCE(io-\u003ecmd) before reading cmd-\u003eflags.\n\nA marked command has to be completed by io_uring_cmd_done(), so a failed\nFETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE\nis the same."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Both sides of the race are local io_uring passthrough: UBLK_IO_FETCH_REQ/COMMIT_AND_FETCH_REQ on /dev/ublkcN into ublk_ch_uring_cmd_local(), and UBLK_CMD_STOP_DEV on /dev/ublk-control into ublk_stop_dev() -\u003e ublk_cancel_dev() -\u003e ublk_cancel_cmd(). No remote peer supplies any data on either path.\nAC:L - The attacker drives both sides. One thread issues FETCH or COMMIT_AND_FETCH; another sends STOP_DEV, which reaches ublk_cancel_dev() even before START_DEV. The window runs from ublk_fill_io_cmd() publishing io-\u003ecmd to io_uring_cmd_mark_cancelable(), and COMMIT_AND_FETCH widens it with __ublk_complete_rq(). It is retried with DEL_DEV/ADD_DEV loops.\nPR:L - ublk_ctrl_add_dev() accepts UBLK_F_UNPRIVILEGED_DEV from callers without CAP_SYS_ADMIN. ublk_ctrl_uring_cmd_permission() then allows STOP_DEV given MAY_READ|MAY_WRITE on the owner\u0027s /dev/ublkcN, and ublk_ch_open() has no capability check. An ordinary user with unprivileged ublk access drives FETCH and STOP_DEV without any init-namespace capability.\nUI:N - The attacking process creates the device, opens /dev/ublkcN, submits the FETCH or COMMIT_AND_FETCH commands, sends STOP_DEV and closes its ring itself. No other user or administrator has to act.\nS:U - The completed io_kiocb left linked on ctx-\u003ecancelable_uring_cmd is a host kernel heap object. The corruption stays within the kernel\u0027s own authority and crosses no VM, IOMMU or sandbox boundary.\nC:H - ublk_cancel_cmd() completes the command through io_uring_cmd_done() while it is still unmarked, so it is never unlinked, and ublk_prep_cancel() then links the finished request. That request is recycled from the io_kiocb cache for attacker-chosen ops, which gives a reusable-request use-after-free/type confusion that can disclose kernel memory.\nI:H - The stale req-\u003ehash_node stays on the cancelable hlist while the io_kiocb is reused, and poll and later marks use the same hash_node, so list pointers are corrupted. At ring exit, io_uring_try_cancel_uring_cmd() calls req-\u003efile-\u003ef_op-\u003euring_cmd() on the recycled request, which is a type-confused indirect call usable for control-flow hijack.\nA:H - At ring exit, io_uring_try_cancel_uring_cmd() walks the completed request that ublk_prep_cancel() linked; the fix commit reports this as a general protection fault (GPF) under KASAN. The attacker can repeat the STOP_DEV race at will to crash the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:40:01.184Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f1de3e25aa13a74c6580cb922be3522c51407885"
        },
        {
          "url": "https://git.kernel.org/stable/c/49e950f877abdf49427c252d328727a4fc9e8625"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a735ee97f7f381374cf10e53acc4c97829c8939"
        },
        {
          "url": "https://git.kernel.org/stable/c/a261f0cacacc022e4fab5b8e38c59f74ce4942e8"
        }
      ],
      "title": "ublk: mark the io command cancelable before publishing it",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-100055",
    "datePublished": "2026-11-30T13:23:28.176Z",
    "dateReserved": "2026-09-25T10:25:14.455Z",
    "dateUpdated": "2026-12-01T05:40:01.184Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-100055",
      "date": "2026-12-04",
      "epss": "0.00163",
      "percentile": "0.05707"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/block/ublk_drv.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "f1de3e25aa13a74c6580cb922be3522c51407885",
                    "status": "affected",
                    "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "49e950f877abdf49427c252d328727a4fc9e8625",
                    "status": "affected",
                    "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9a735ee97f7f381374cf10e53acc4c97829c8939",
                    "status": "affected",
                    "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a261f0cacacc022e4fab5b8e38c59f74ce4942e8",
                    "status": "affected",
                    "version": "216c8f5ef0f209a3797292c487bdaa6991ab4b92",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/block/ublk_drv.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.7"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nublk: mark the io command cancelable before publishing it\n\nFETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io-\u003ecmd\nbefore marking it cancelable. A cancel from the control path (STOP_DEV,\nQUIESCE_DEV) can complete it in between:\n\n  issue path                       control-path cancel\n  io-\u003ecmd = C\n                                   take C, io_uring_cmd_done(C):\n                                     C not marked, nothing to unlink\n  ublk_prep_cancel(C)\n    the completed C is linked on the cancelable list\n  ring exit: the cancel walk hits it \u2192 GPF (KASAN, with a delay added)\n\nMark the command before ublk_fill_io_cmd() publishes it. The handlers\nrun with uring_lock held, as io_uring\u0027s cancel walk does, so marking\ntakes no lock and the walk can\u0027t see a marked command before it is\npublished. smp_wmb() orders the mark before the io-\u003ecmd store; the\ncancel loads cmd with READ_ONCE(io-\u003ecmd) before reading cmd-\u003eflags.\n\nA marked command has to be completed by io_uring_cmd_done(), so a failed\nFETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE\nis the same."
          }
        ],
        "id": "CVE-2026-100055",
        "lastModified": "2026-12-01T06:17:22.100",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:17:23.663",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/49e950f877abdf49427c252d328727a4fc9e8625"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9a735ee97f7f381374cf10e53acc4c97829c8939"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a261f0cacacc022e4fab5b8e38c59f74ce4942e8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f1de3e25aa13a74c6580cb922be3522c51407885"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T07:07:50+00:00",
      "cve": "CVE-2026-100055",
      "id": "CVE-2026-100055",
      "initial_release_date": "2026-11-30T13:23:28.176000+00:00",
      "product_status:known_affected": "78",
      "product_status:known_not_affected": "202",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: ublk: Denial of Service via race condition during command cancellation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100055.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.