GHSA-6W3J-5V4W-QC6P
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In the Linux kernel, the following vulnerability has been resolved:
ublk: keep a canceled FETCH round canceling until the server is gone
A cancel completes a fetched io command and sets io->cmd to NULL, but the io still counts as ready. Only ubq->canceling stops ublk_queue_rq() from using the NULL io->cmd. Two paths clear that flag too early:
partial FETCH round recovery, two queues ------------------- -------------------- task A: FETCH tags 0-2 q0 ready: q0->canceling = false task A exits: q0 task exits: start_cancel(): mark queues start_cancel(): ub->canceling tags 0-2: io->cmd = NULL is still set -> q0 not marked task B: FETCH tag 3 q0: io->cmd = NULL queue ready: canceling = false q1 ready START_DEV END_USER_RECOVERY read -> ublk_queue_cmd(NULL) read on q0 -> ublk_queue_cmd(NULL)
A FETCH round runs from the open of /dev/ublkcN until ublk_reset_ch_dev() resets the queues. A canceled command can't be fetched again in the same round. So the ready check only needs one fact: did this round see a cancel? ub->canceling already records it: ublk_start_cancel() sets it under cancel_mutex before any command is taken. It is only cleared too early, when all queues are ready.
Fix:
- clear ub->canceling only in ublk_reset_ch_dev()
- when a queue gets ready, clear ubq->canceling only if ub->canceling is not set, and check it under cancel_mutex
The check and the marking are ordered by cancel_mutex:
check first: queue cleared -> start_cancel() marks it again -> command taken cancel first: check sees ub->canceling -> queue stays canceling
While ub->canceling is set, no queue clears its flag. So the "all queues marked" shortcut in ublk_start_cancel() is correct again.
UBLK_F_BATCH_IO follows the same rule. It does not dispatch through io->cmd, so it never hit the oops, but a round which lost a fetch command is treated the same way: it has to start over.
{
"affected": [],
"aliases": [
"CVE-2026-100056"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:17:23Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nublk: keep a canceled FETCH round canceling until the server is gone\n\nA cancel completes a fetched io command and sets io-\u003ecmd to NULL, but\nthe io still counts as ready. Only ubq-\u003ecanceling stops ublk_queue_rq()\nfrom using the NULL io-\u003ecmd. Two paths clear that flag too early:\n\n partial FETCH round recovery, two queues\n ------------------- --------------------\n task A: FETCH tags 0-2 q0 ready: q0-\u003ecanceling = false\n task A exits: q0 task exits:\n start_cancel(): mark queues start_cancel(): ub-\u003ecanceling\n tags 0-2: io-\u003ecmd = NULL is still set -\u003e q0 not marked\n task B: FETCH tag 3 q0: io-\u003ecmd = NULL\n queue ready: canceling = false q1 ready\n START_DEV END_USER_RECOVERY\n read -\u003e ublk_queue_cmd(NULL) read on q0 -\u003e ublk_queue_cmd(NULL)\n\nA FETCH round runs from the open of /dev/ublkcN until\nublk_reset_ch_dev() resets the queues. A canceled command can\u0027t be\nfetched again in the same round. So the ready check only needs one\nfact: did this round see a cancel? ub-\u003ecanceling already records it:\nublk_start_cancel() sets it under cancel_mutex before any command is\ntaken. It is only cleared too early, when all queues are ready.\n\nFix:\n\n - clear ub-\u003ecanceling only in ublk_reset_ch_dev()\n - when a queue gets ready, clear ubq-\u003ecanceling only if ub-\u003ecanceling\n is not set, and check it under cancel_mutex\n\nThe check and the marking are ordered by cancel_mutex:\n\n check first: queue cleared -\u003e start_cancel() marks it again\n -\u003e command taken\n cancel first: check sees ub-\u003ecanceling -\u003e queue stays canceling\n\nWhile ub-\u003ecanceling is set, no queue clears its flag. So the \"all\nqueues marked\" shortcut in ublk_start_cancel() is correct again.\n\nUBLK_F_BATCH_IO follows the same rule. It does not dispatch through\nio-\u003ecmd, so it never hit the oops, but a round which lost a fetch\ncommand is treated the same way: it has to start over.",
"id": "GHSA-6w3j-5v4w-qc6p",
"modified": "2026-11-30T15:32:03Z",
"published": "2026-11-30T15:32:03Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100056"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1f866a06b65ec13d37767843d2e991df2dcd1a00"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/4c454b5b2634d982caf797fbe477770c3edfc983"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f715e4324b821f051dbd2832c6bd974642b803f2"
}
],
"schema_version": "1.4.0",
"severity": []
}
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.
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
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.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.