CVE-2026-139153

Source
https://cve.org/CVERecord?id=CVE-2026-139153
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139153.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139153
Downstream
Published
2026-11-30T13:32:04Z
Modified
2026-11-30T15:02:27Z
Summary
nvmet-tcp: stop listening when a port is removed
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139153.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
872d26a391da92ed8f0c0f5cb5fef428067b7f30
Fixed
c9d4fb77cf994e416670789ba3776ff00ef8b8ad
Fixed
f1fc1b2f8aaf6cd0df892eaf6c24ac70ad247e3e
Fixed
077878974f50037f3ed77dc08a5bd1f4eb109e67
Fixed
3898c1e40a37d564ef2bdf0cb400bab6174e5666
Fixed
8f808bfb097c718e274b8940ba1bd7c87f0797e2
Fixed
556dc6a588baf718b68f3693c1c80612b2cb2590
Fixed
ef3dc45850555cf0b00e019372d0ceab29c9ed5d
Fixed
ece0f4e67f08792c8572080fb0fcc231554f08ca

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139153.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139153.json"