Security mailing lists by PureSourceCode

CVE-2026-139158

not scored yet

nvmet: protect nvmet_ports_list with nvmet_config_sem

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= b662a078576e7d6e235b4e1b94863f0474cd8555, < 912aced00520607b058451ad05d2b42cd4041f7f; >= b662a078576e7d6e235b4e1b94863f0474cd8555, < 51f1e80959f2764d667308a8a1e94279ec8de3d6; >= b662a078576e7d6e235b4e1b94863f0474cd8555, < b0675c06088677af4e3205da52de562b15f39a1c; >= b662a078576e7d6e235b4e1b94863f0474cd8555, < e7334e114cf24c29d6299ed2b85357c4c70a9116; >= b662a078576e7d6e235b4e1b94863f0474cd8555, < 520b63e700b75c9d0ed2e9569324128107c1bc03; >= b662a078576e7d6e235b4e1b94863f0474cd8555, < 50d500af2b01e23405e91d862ed667c373921b34; >= b662a078576e7d6e235b4e1b94863f0474cd8555, < cead6beb89256ae7145b65fbe8e8a5fedba4a47c 912aced00520607b058451ad05d2b42cd4041f7f, 51f1e80959f2764d667308a8a1e94279ec8de3d6, b0675c06088677af4e3205da52de562b15f39a1c, e7334e114cf24c29d6299ed2b85357c4c70a9116, 520b63e700b75c9d0ed2e9569324128107c1bc03, 50d500af2b01e23405e91d862ed667c373921b34, cead6beb89256ae7145b65fbe8e8a5fedba4a47c
CVE List Linux Linux = 5.0

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.