Bug 2587149 (CVE-2026-139152) - CVE-2026-139152 kernel: kernel: Denial of Service via use-after-free in nvmet-tcp during port removal
Summary: CVE-2026-139152 kernel: kernel: Denial of Service via use-after-free in nvmet...
Keywords:
Status: NEW
Alias: CVE-2026-139152
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:02 UTC by OSIDB Bzimport
Modified: 2026-12-01 10:51 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:02:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: don't read a removed port at Connect time

nvmet_tcp_alloc_cmd() takes the nvmet port of a command from
queue->port, and the commands of a queue are allocated from the io work
when the Connect arrives. nvmet_tcp_remove_port() shuts down the queues
that have no controller yet and frees the port without waiting for
them, they're released later from a work. An io work handling a Connect
at that moment reads the freed port for every command of the queue and
hands the result to the core.

Note the nvmet port in the queue at allocation. It outlives the
transport port.


Note You need to log in before you can comment on or make changes to this bug.