CVE-2026-139153
nvmet-tcp: stop listening when a port is removed
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: stop listening when a port is removed nvmet_tcp_accept_work() accepts until there's nothing left. A connection that is already dead when accepted is torn down right there, which takes a few ms, and more can arrive meanwhile. nvmet_tcp_remove_port() waits for the work with cancel_work_sync(), so someone opening and closing connections in a loop keeps the removal from finishing. It holds nvmet_config_sem for writing, so nothing can be configured and no port answers a Connect until the flood stops. No secret needed, just an admin removing the port at the wrong time. Shut the listening socket down first. Pending connections are dropped, as they were on release, and the next kernel_accept() fails and ends the work.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Shut down the listening socket first.
- Pending connections will be dropped.
- Kernel accept will fail and end work.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139153.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139153 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139153
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139153 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139153 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: stop listening when a port is removed nvmet_tcp_accept_work() accepts until there's nothing left. A connection that is already dead when accepted is torn down right there, which takes a few ms, and more can arrive meanwhile. nvmet_tcp_remove_port() waits for the work with cancel_work_sync(), so someone opening and closing connections in a loop keeps the removal from finishing. It holds nvmet_config_sem for writing, so nothing can be configured and no port answers a Connect until the flood stops. No secret needed, just an admin removing the port at the wrong time. Shut the listening socket down first. Pending connections are dropped, as they were on release, and the next kernel_accept() fails and ends the work. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139153.json">CVE-2026-139153</a> Added Reference https://git.kernel.org/stable/c/077878974f50037f3ed77dc08a5bd1f4eb109e67 Added Reference https://git.kernel.org/stable/c/3898c1e40a37d564ef2bdf0cb400bab6174e5666 Added Reference https://git.kernel.org/stable/c/556dc6a588baf718b68f3693c1c80612b2cb2590 Added Reference https://git.kernel.org/stable/c/8f808bfb097c718e274b8940ba1bd7c87f0797e2 Added Reference https://git.kernel.org/stable/c/c9d4fb77cf994e416670789ba3776ff00ef8b8ad Added Reference https://git.kernel.org/stable/c/ece0f4e67f08792c8572080fb0fcc231554f08ca Added Reference https://git.kernel.org/stable/c/ef3dc45850555cf0b00e019372d0ceab29c9ed5d Added Reference https://git.kernel.org/stable/c/f1fc1b2f8aaf6cd0df892eaf6c24ac70ad247e3e