{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143284","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.364Z","datePublished":"2026-12-03T09:21:21.697Z","dateUpdated":"2026-12-04T03:32:11.151Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:32:11.151Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: limit the connections accepted per work run\n\nnvmet_tcp_accept_work() loops until there's nothing left to accept, and\nanyone opening and closing connections fast enough keeps it running\nindefinitely, since tearing down a dead connection takes long enough for\nmore to arrive. Whoever flushes nvmet_wq waits for it: removing any\nother port of the target does in nvmet_port_release(), and so does\nunloading the rdma and fc modules.\n\nAccept a bounded number of connections per run and requeue the work. A\nflush doesn't wait for work queued behind it."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The trigger is the TCP connection itself: nvmet_tcp_listen_data_ready, installed as sk_data_ready in nvmet_tcp_add_port, queues nvmet_tcp_accept_work, and kernel_accept() takes the peer's established socket from that listen backlog. The socket arrives on the configured TCP trsvcid, which is routable IP.\nAC:L - The attacker opens and closes its own sockets so the listen backlog (kernel_listen of NVMET_TCP_BACKLOG, 128) stays non-empty across nvmet_tcp_alloc_queue(). A socket already out of TCP_ESTABLISHED fails in nvmet_tcp_set_queue_sock and is freed on the out_destroy_sq path inside the same loop, so kernel_accept() does not return -EAGAIN.\nPR:N - nvmet_tcp_accept_work calls kernel_accept() and nvmet_tcp_alloc_queue() with no host check. nvmet_host_allowed() and DH-HMAC-CHAP run only after an NVMe Connect command, which this accept loop never requires.\nUI:N - The attacker alone connects and resets TCP sockets to a port that is already listening. No target user has to mount media, send an NVMe capsule, or drop a configfs link for the accept loop to keep running.\nS:U - The stuck nvmet_tcp_accept_work and the tasks blocked in flush_workqueue(nvmet_wq) or cancel_work_sync stay in the target host kernel. The hang does not cross a guest, IOMMU, or sandbox boundary.\nC:N - The loop only accepts sockets and allocates an nvmet_tcp_queue per connection. It does not read past a buffer, retain a freed object, or copy kernel memory or a pointer back to the peer.\nI:N - nvmet_tcp_alloc_queue writes only the queue it just allocated, and the out_destroy_sq path frees that same object. There is no overflow, use-after-free, or attacker-controlled write of kernel memory.\nA:H - While the backlog stays non-empty, pre-fix nvmet_tcp_accept_work's while(true) never returns, so flush_workqueue(nvmet_wq) in nvmet_port_release, nvmet_tcp_exit, nvmet_rdma_exit, and nvmet_fc_exit_module, and cancel_work_sync(&port->accept_work) in nvmet_tcp_remove_port, sleep uninterruptibly. nvmet_disable_port holds nvmet_config_sem across that cancel, so unlinking the last subsystem wedges config and Connect lookups."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"],"versions":[{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"7e5d82109891bef938da04b59229f18e2a910250","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"4dda165b2d464b705d55db0c661b4f8d39fe4031","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"01d715f6eec645265751d6174b0c6344a85b9ae8","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"1f9b5f3a4c149a0075e7aa047ffbdbf1a14ba91f","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"a029f1b2fb13e6ac6e1c2f27fba1d80b6e7cac51","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"],"versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7e5d82109891bef938da04b59229f18e2a910250"},{"url":"https://git.kernel.org/stable/c/4dda165b2d464b705d55db0c661b4f8d39fe4031"},{"url":"https://git.kernel.org/stable/c/01d715f6eec645265751d6174b0c6344a85b9ae8"},{"url":"https://git.kernel.org/stable/c/1f9b5f3a4c149a0075e7aa047ffbdbf1a14ba91f"},{"url":"https://git.kernel.org/stable/c/a029f1b2fb13e6ac6e1c2f27fba1d80b6e7cac51"}],"title":"nvmet-tcp: limit the connections accepted per work run","x_generator":{"engine":"bippy-1.2.0"}}}}