{"identifier":"CVE-2026-99960","cve":{"id":"CVE-2026-99960","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: take subsys->lock while force-reconnecting in nvmet_subsys_attr_qid_max_store()\n\nnvmet_subsys_attr_qid_max_store() sets subsys->max_qid and then walks\nsubsys->ctrls to force every controller to reconnect, but it holds only\nnvmet_config_sem (for write).  subsys->ctrls is protected by subsys->lock:\nnvmet_alloc_ctrl() adds an entry under subsys->lock, and nvmet_ctrl_free()\nremoves it under subsys->lock 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-> nvmet_sq_destroy() -> nvmet_ctrl_put() -> 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 > .../subsystems/<nqn>/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->lock around the list_for_each_entry() loop, matching every\nother subsys->ctrls accessor.  ->delete_ctrl() only queues asynchronous\ncontroller teardown, so it does not re-enter subsys->lock under the loop.","published":"2026-11-30T14:20:33.590000+00:00","modified":"2026-11-30T14:20:33.590000+00:00","status":"Received","score":null,"severity":"UNSCORED","vector":"","cvss_version":"","affected":[],"weaknesses":[],"references":[{"url":"https://git.kernel.org/stable/c/123b86359529bc983d81fdd31a1de6f6d3f1bd63","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/224b6699bd131de274acfb4a294bf99d1def653e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/54f824ec04acab4d54291998ee709d1766ff9e88","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/62518ed062b5a93e091b43cdfa05b9d9796ac184","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7aa18e5dbc2929d5792a037af73eeb99545c2156","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9f426f14051181e251590783e68ce589a63e2b1c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"kev":null,"kev_checked":true,"metrics":{},"configurations":[],"source":"nvd","retrieved_at":"2026-11-30T16:30:29.093321+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00318,"percentile":0.26711,"date":"2026-12-04","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"git.kernel.org","source_url":"https://git.kernel.org/stable/c/123b86359529bc983d81fdd31a1de6f6d3f1bd63","investigate_url":"https://investigate.aeglixmind.com/#git.kernel.org"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-99960","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-99960","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-99960","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}