GHSA-WV4F-W3C4-G43Q

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

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

nvmet: take subsys->lock while force-reconnecting in nvmet_subsys_attr_qid_max_store()

nvmet_subsys_attr_qid_max_store() sets subsys->max_qid and then walks subsys->ctrls to force every controller to reconnect, but it holds only nvmet_config_sem (for write). subsys->ctrls is protected by subsys->lock: nvmet_alloc_ctrl() adds an entry under subsys->lock, and nvmet_ctrl_free() removes it under subsys->lock with list_del() + kfree() (not kfree_rcu). The free path takes no nvmet_config_sem, so the two locks are independent.

A controller teardown (host disconnect, keep-alive timeout or fatal error -> nvmet_sq_destroy() -> nvmet_ctrl_put() -> nvmet_ctrl_free()) can therefore list_del() an entry while qid_max_store() is iterating the list, corrupting the walk.

KASAN, concurrent "echo 128 > .../subsystems//attr_qid_max" racing nvme-loop controllers connecting and disconnecting, panics in seconds:

BUG: KASAN: null-ptr-deref in nvmet_subsys_attr_qid_max_store+0x10d/0x1b0 Read of size 8 at addr 0000000000000090 Call Trace: nvmet_subsys_attr_qid_max_store+0x10d/0x1b0 configfs_write_iter+0x1a7/0x250 vfs_write+0x5df/0x940 ksys_write+0xfd/0x1e0

(also seen as a general-protection fault dereferencing a LIST_POISON pointer at the same instruction.)

Take subsys->lock around the list_for_each_entry() loop, matching every other subsys->ctrls accessor. ->delete_ctrl() only queues asynchronous controller teardown, so it does not re-enter subsys->lock under the loop.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99960"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:20:33Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: take subsys-\u003elock while force-reconnecting in nvmet_subsys_attr_qid_max_store()\n\nnvmet_subsys_attr_qid_max_store() sets subsys-\u003emax_qid and then walks\nsubsys-\u003ectrls to force every controller to reconnect, but it holds only\nnvmet_config_sem (for write).  subsys-\u003ectrls is protected by subsys-\u003elock:\nnvmet_alloc_ctrl() adds an entry under subsys-\u003elock, and nvmet_ctrl_free()\nremoves it under subsys-\u003elock with list_del() + kfree() (not kfree_rcu).\nThe free path takes no nvmet_config_sem, so the two locks are independent.\n\nA controller teardown (host disconnect, keep-alive timeout or fatal error\n-\u003e nvmet_sq_destroy() -\u003e nvmet_ctrl_put() -\u003e nvmet_ctrl_free()) can\ntherefore list_del() an entry while qid_max_store() is iterating the list,\ncorrupting the walk.\n\nKASAN, concurrent \"echo 128 \u003e .../subsystems/\u003cnqn\u003e/attr_qid_max\" racing\nnvme-loop controllers connecting and disconnecting, panics in seconds:\n\n  BUG: KASAN: null-ptr-deref in nvmet_subsys_attr_qid_max_store+0x10d/0x1b0\n  Read of size 8 at addr 0000000000000090\n  Call Trace:\n   nvmet_subsys_attr_qid_max_store+0x10d/0x1b0\n   configfs_write_iter+0x1a7/0x250\n   vfs_write+0x5df/0x940\n   ksys_write+0xfd/0x1e0\n\n(also seen as a general-protection fault dereferencing a LIST_POISON\npointer at the same instruction.)\n\nTake subsys-\u003elock around the list_for_each_entry() loop, matching every\nother subsys-\u003ectrls accessor.  -\u003edelete_ctrl() only queues asynchronous\ncontroller teardown, so it does not re-enter subsys-\u003elock under the loop.",
  "id": "GHSA-wv4f-w3c4-g43q",
  "modified": "2026-11-30T15:32:51Z",
  "published": "2026-11-30T15:32:50Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99960"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/123b86359529bc983d81fdd31a1de6f6d3f1bd63"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/224b6699bd131de274acfb4a294bf99d1def653e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/54f824ec04acab4d54291998ee709d1766ff9e88"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62518ed062b5a93e091b43cdfa05b9d9796ac184"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7aa18e5dbc2929d5792a037af73eeb99545c2156"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9f426f14051181e251590783e68ce589a63e2b1c"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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.