GHSA-P87R-54C8-RFQJ

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-12-01 06:31
VLAI
Details

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

ublk: mark the batch fetch command cancelable before linking it

UBLK_U_IO_FETCH_IO_CMDS has the same order problem as the per-io commands: ublk_batch_attach() links the fetch command into fcmd_head and marks it cancelable only after dropping evts_lock. A cancel from the control path (ublk_batch_cancel_queue()) can take it in between and complete it, and the later mark puts a completed request on io_uring's cancelable list.

Mark it before linking it. evts_lock orders the mark before the link, which is where the cancel finds it.

Batch commands are not bounced to task work, so they can run from io-wq without uring_lock, and io_uring's cancel walk can now find a fetch command before it is linked. Two things make that safe:

  • initialize fcmd->node: it came from kzalloc(), so list_empty() saw a linked node and ublk_batch_cancel_cmd() would list_del_init() NULL pointers
  • on the -ENODEV path, complete the command with io_uring_cmd_done() before freeing fcmd: that removes it from the cancelable list under uring_lock, after which nothing can see fcmd

Also use data->cmd instead of fcmd->cmd after dropping evts_lock: once fcmd is linked and not the active one, a control-path cancel may complete and free it.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-100054"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:17:23Z",
    "severity": "HIGH"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nublk: mark the batch fetch command cancelable before linking it\n\nUBLK_U_IO_FETCH_IO_CMDS has the same order problem as the per-io\ncommands: ublk_batch_attach() links the fetch command into fcmd_head\nand marks it cancelable only after dropping evts_lock. A cancel from\nthe control path (ublk_batch_cancel_queue()) can take it in between and\ncomplete it, and the later mark puts a completed request on io_uring\u0027s\ncancelable list.\n\nMark it before linking it. evts_lock orders the mark before the link,\nwhich is where the cancel finds it.\n\nBatch commands are not bounced to task work, so they can run from io-wq\nwithout uring_lock, and io_uring\u0027s cancel walk can now find a fetch\ncommand before it is linked. Two things make that safe:\n\n - initialize fcmd-\u003enode: it came from kzalloc(), so list_empty() saw a\n   linked node and ublk_batch_cancel_cmd() would list_del_init() NULL\n   pointers\n - on the -ENODEV path, complete the command with io_uring_cmd_done()\n   before freeing fcmd: that removes it from the cancelable list under\n   uring_lock, after which nothing can see fcmd\n\nAlso use data-\u003ecmd instead of fcmd-\u003ecmd after dropping evts_lock: once\nfcmd is linked and not the active one, a control-path cancel may\ncomplete and free it.",
  "id": "GHSA-p87r-54c8-rfqj",
  "modified": "2026-12-01T06:31:11Z",
  "published": "2026-11-30T15:32:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100054"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b59e96011d22e322fbf4d5d1d1124de538c278ed"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de0967c9aa6bb63d30e835c79fd935310f30402b"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



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.