CVE-2026-99960
Last modified
CVE-2026-99960 is a vulnerability of currently unknown severity. 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/<nqn>/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.
Description
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/<nqn>/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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3e980f5995e0bb4d86fef873a9c9ad66721580d0, < 54f824ec04acab4d54291998ee709d1766ff9e88; >= 3e980f5995e0bb4d86fef873a9c9ad66721580d0, < 224b6699bd131de274acfb4a294bf99d1def653e; >= 3e980f5995e0bb4d86fef873a9c9ad66721580d0, < 123b86359529bc983d81fdd31a1de6f6d3f1bd63; >= 3e980f5995e0bb4d86fef873a9c9ad66721580d0, < 62518ed062b5a93e091b43cdfa05b9d9796ac184; >= 3e980f5995e0bb4d86fef873a9c9ad66721580d0, < 7aa18e5dbc2929d5792a037af73eeb99545c2156; >= 3e980f5995e0bb4d86fef873a9c9ad66721580d0, < 9f426f14051181e251590783e68ce589a63e2b1c |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99960?
How severe is CVE-2026-99960?
How do I fix CVE-2026-99960?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99955In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-99956In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99957In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99958In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-99959In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9996Out of bounds read in WebRTC in Google Chrome on Mac prior t…6.5
- CVE-2026-99961In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99962In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99963In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99964In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99965In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99966In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99960?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
