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-139158

published

nvmet: protect nvmet_ports_list with nvmet_config_sem

Published
30 Nov 2026, 13:32:07 UTC
Updated
30 Nov 2026, 13:32:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb662a078576e7d6e235b4e1b94863f0474cd8555 to < 912aced00520607b058451ad05d2b42cd4041f7f · b662a078576e7d6e235b4e1b94863f0474cd8555 to < 51f1e80959f2764d667308a8a1e94279ec8de3d6 · b662a078576e7d6e235b4e1b94863f0474cd8555 to < b0675c06088677af4e3205da52de562b15f39a1c · b662a078576e7d6e235b4e1b94863f0474cd8555 to < e7334e114cf24c29d6299ed2b85357c4c70a9116 · b662a078576e7d6e235b4e1b94863f0474cd8555 to < 520b63e700b75c9d0ed2e9569324128107c1bc03 · b662a078576e7d6e235b4e1b94863f0474cd8555 to < 50d500af2b01e23405e91d862ed667c373921b34 · b662a078576e7d6e235b4e1b94863f0474cd8555 to < cead6beb89256ae7145b65fbe8e8a5fedba4a47c · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet: protect nvmet_ports_list with nvmet_config_sem Readers of nvmet_ports_list (e.g. nvmet_subsys_disc_changed()) hold nvmet_config_sem and assert it via lockdep. The writers -- nvmet_ports_make() and nvmet_port_release() -- do not take the lock; they rely on the parent directory's VFS inode lock for serialization, which is an implementation detail of configfs and not a guaranteed contract. Align the writers with the lock the readers already require. Also move list_add() in nvmet_ports_make() to after the port is fully initialized: the old position published the port on the global list before INIT_LIST_HEAD(&port->subsystems), so a concurrent reader could traverse uninitialized list heads. flush_workqueue() in nvmet_port_release() stays outside the semaphore to avoid a lock dependency on nvmet_wq.

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 b662a078576e7d6e235b4e1b94863f0474cd8555 to < 912aced00520607b058451ad05d2b42cd4041f7f (affected · git)b662a078576e7d6e235b4e1b94863f0474cd8555 to < 51f1e80959f2764d667308a8a1e94279ec8de3d6 (affected · git)b662a078576e7d6e235b4e1b94863f0474cd8555 to < b0675c06088677af4e3205da52de562b15f39a1c (affected · git)b662a078576e7d6e235b4e1b94863f0474cd8555 to < e7334e114cf24c29d6299ed2b85357c4c70a9116 (affected · git)b662a078576e7d6e235b4e1b94863f0474cd8555 to < 520b63e700b75c9d0ed2e9569324128107c1bc03 (affected · git)b662a078576e7d6e235b4e1b94863f0474cd8555 to < 50d500af2b01e23405e91d862ed667c373921b34 (affected · git)b662a078576e7d6e235b4e1b94863f0474cd8555 to < cead6beb89256ae7145b65fbe8e8a5fedba4a47c (affected · git)Default: unaffected Linux · cna
Linux Linux 5.0 (affected)0 to < 5.0 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 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

7

Provider assertions

1

Linux · cna

nvmet: protect nvmet_ports_list with nvmet_config_sem

Provenance

Schema
5.2
Searchable
yes
Content hash
b25a7add6b864d359acdbd5c1300ad735839213632f50af59ff6e1621d51949a
Ingested
30 Nov 2026, 13:42:22 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