CVE-2026-139158
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.
Affected versions
Linux kernel versions
5.0
and later are affected. Fixed in
5.15.226,
6.1.193,
6.6.163,
6.12.119,
6.18.65,
7.3.6,
7.4-rc1
and their respective stable series.
References
7 totalFrequently asked questions
-
What is CVE-2026-139158?
CVE-2026-139158 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.0 onward and has been patched in 5.15.226, 6.1.193, 6.6.163 and others. CVE-2026-139158 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-139158?
Yes. CVE-2026-139158 has been patched. Fixed versions include 5.15.226, 6.1.193, 6.6.163 and others. If you are running Linux kernel 5.0 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-139158 actively exploited?
No. CVE-2026-139158 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.