1. Archivio CVE
  2. 2026
  3. CVE-2026-139158

CVE-2026-139158

– Gravità non disponibile CVSS n/d

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.0 < 5.15.226 –
linux linux kernel >= 5.0 < 6.1.193 –
linux linux kernel >= 5.0 < 6.6.163 –
linux linux kernel >= 5.0 < 6.12.119 –
linux linux kernel >= 5.0 < 6.18.65 –
linux linux kernel >= 5.0 < 7.3.6 –
linux linux kernel >= 5.0 < 7.4-rc1 –
Tutte le 24.148 vulnerabilità di Linux Kernel