CVE-2026-46135

nvmet-tcp: fix race between ICReq handling and queue teardown

9.8 critical EPSS 0.40%

Published 28 May 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-46135

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46135 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: fix race between ICReq handling and queue teardown

nvmet_tcp_handle_icreq() updates queue->state after sending an Initialization Connection Response (ICResp), but it does so without serializing against target-side queue teardown.

If an NVMe/TCP host sends an Initialization Connection Request (ICReq) and immediately closes the connection, target-side teardown may start in softirq context before io_work drains the already buffered ICReq. In that case, nvmet_tcp_schedule_release_queue() sets queue->state to NVMET_TCP_Q_DISCONNECTING and drops the queue reference under state_lock.

If io_work later processes that ICReq, nvmet_tcp_handle_icreq() can still overwrite the state back to NVMET_TCP_Q_LIVE. That defeats the DISCONNECTING-state guard in nvmet_tcp_schedule_release_queue() and allows a later socket state change to re-enter teardown and issue a second kref_put() on an already released queue.

The ICResp send failure path has the same problem. If teardown has already moved the queue to DISCONNECTING, a send error can still overwrite the state with NVMET_TCP_Q_FAILED, again reopening the window for a second teardown path to drop the queue reference.

Fix this by serializing both post-send state transitions with state_lock and bailing out if teardown has already started.

Use -ESHUTDOWN as an internal sentinel for that bail-out path rather than propagating it as a transport error like -ECONNRESET. Keep nvmet_tcp_socket_error() setting rcv_state to NVMET_TCP_RECV_ERR before honoring that sentinel so receive-side parsing stays quiesced until the existing release path completes.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before b7dd4d27aa70bd98bb10572310e913668baf6a65
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 9c63cf80895a70eb4fcfcaa725bb1ac9ae76f02b
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 6f96dea4819d122737b217ea16660d255abbf8c6
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 5f0b95ef68ab9afba75b20eebf436130f80c161a
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 49891c8fe0cb43fbbe480da1cdccfbbaeb820cb3
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 67e1aaf93b495c2f10bc8a5fbba575fbb7f449b6
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before dcfe4d1f7960e7d1c01642318f3aae1a604f8508
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 5293a8882c549fab4a878bc76b0b6c951f980a61
Other versions: unaffected
Linux
affected 5.0
unaffected before 5.0
unaffected from 5.10.261 up to and including 5.10.*
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.144 up to and including 6.6.*
unaffected from 6.12.88 up to and including 6.12.*
unaffected from 6.18.30 up to and including 6.18.*
unaffected from 7.0.7 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46135 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46135

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-46135
trivy image --scanners vuln IMAGE | grep CVE-2026-46135

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-46135 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.