CVE-2026-46135
nvmet-tcp: fix race between ICReq handling and queue teardown
Reported by linux · Published May 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-debuginfo | errata.rockylinux.org | 4.18.0-553.136.1.el8 |
| kernel-rt-64k-debuginfo | errata.rockylinux.org | 5.14.0-687.17.1.el9 |
| kernel-abi-stablelists | errata.rockylinux.org | 6.12.0-211.28.1.el10, 4.18.0-553.136.1.el8 |
| kernel-debug-modules | errata.rockylinux.org | 5.14.0-687.17.1.el9 |
| python3-perf-debuginfo | errata.rockylinux.org | 6.12.0-211.28.1.el10 |
| kernel-doc | errata.rockylinux.org | 5.14.0-687.17.1.el9 |
| kernel-rt-64k-debug-modules | errata.rockylinux.org | 5.14.0-687.17.1.el9 |
| kernel-rt-modules-core | errata.rockylinux.org | 6.12.0-211.28.1.el10 |
| kernel-tools-libs-devel | errata.rockylinux.org | 6.12.0-211.28.1.el10 |
| kernel-64k-devel | errata.rockylinux.org | 6.12.0-211.28.1.el10 |
| kernel-devel-matched | errata.rockylinux.org | 6.12.0-211.28.1.el10 |
| kernel-rt-64k-devel | errata.rockylinux.org | 5.14.0-687.17.1.el9 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 872d26a391da92ed8f0c0f5cb5fef428067b7f30, 872d26a391da92ed8f0c0f5cb5fef428067b7f30, 872d26a391da92ed8f0c0f5cb5fef428067b7f30 |
| Linux | Linux | 5.0, 0, 5.10.261 |
| Linux | Linux | 6.1.178, 0, 872d26a391da92ed8f0c0f5cb5fef428067b7f30 |
| linux | linux_kernel | 5.0, 5.0, 5.0 |
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (134 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Jun 20, 2026 Distribution Patch (135 in total, the first dated here)
- Oct 9, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46135
vulnetix vdb fixes CVE-2026-46135
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46135/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart