Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99960

published

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

Published
30 Nov 2026, 13:18:39 UTC
Updated
30 Nov 2026, 13:18:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 54f824ec04acab4d54291998ee709d1766ff9e88 · 3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 224b6699bd131de274acfb4a294bf99d1def653e · 3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 123b86359529bc983d81fdd31a1de6f6d3f1bd63 · 3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 62518ed062b5a93e091b43cdfa05b9d9796ac184 · 3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 7aa18e5dbc2929d5792a037af73eeb99545c2156 · 3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 9f426f14051181e251590783e68ce589a63e2b1c · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 54f824ec04acab4d54291998ee709d1766ff9e88 (affected · git)3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 224b6699bd131de274acfb4a294bf99d1def653e (affected · git)3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 123b86359529bc983d81fdd31a1de6f6d3f1bd63 (affected · git)3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 62518ed062b5a93e091b43cdfa05b9d9796ac184 (affected · git)3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 7aa18e5dbc2929d5792a037af73eeb99545c2156 (affected · git)3e980f5995e0bb4d86fef873a9c9ad66721580d0 to < 9f426f14051181e251590783e68ce589a63e2b1c (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
f916c63cb259d0355950750fd0e7dbca38f73b50af0411122661c9e89eac268c
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected