CVE-2026-46135
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceRace condition in Linux kernel's NVMe/TCP target where nvmet_tcp_handle_icreq() can overwrite queue state to LIVE after teardown has already set it to DISCONNECTING, defeating the guard against double kref_put() on the queue reference. This creates a use-after-free scenario when the second teardown path attempts to release an already-freed queue structure.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 5.0, < 6.12.88>= 6.13, < 6.18.30>= 6.19, < 7.0.7= 7.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel versionRun 'uname -r' to get the running kernel version and compare it to the affected ranges: >= 5.0, < 6.12.88; >= 6.13, < 6.18.30; >= 6.19, < 7.0.7; = 7.1Affected if The kernel version falls within any of the affected version ranges
-
Verify NVMe/TCP target module is loadedRun 'lsmod | grep nvmet_tcp' or check /sys/module/nvmet_tcp to see if the nvmet_tcp kernel module is loadedAffected if The nvmet_tcp module is loaded in memory
-
Check for active NVMe/TCP target queuesInspect /sys/kernel/config/nvmet/ for active NVMe over Fabrics target configurations, or check /proc/cmdline for kernel command-line parameters related to NVMe target, or use 'ss -tlnp | grep 4420' to listen for NVMe/TCP port 4420Affected if There are active NVMe/TCP target listeners or established connections
-
Determine if system acts as NVMe targetCheck if the kernel config includes CONFIG_NVME_TARGET=y or CONFIG_NVME_TARGET=m by looking at /boot/config-$(uname -r) or /proc/config.gz if available, and verify the target subsystem is initializedAffected if The kernel has NVMe target support enabled and the subsystem is initialized
A system is affected only if it runs an affected kernel version AND has the NVMe/TCP target subsystem active with at least one configured queue.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped6.12.886.18.307.0.7
Apply the kernel patch which adds state_lock serialization around post-send state transitions and bails out with -ESHUTDOWN if teardown has already begun. This is a kernel-level fix requiring kernel source update and reboot to apply.
Upgrade to Linux kernel 6.12.88+, 6.18.30+, or 7.0.7+ (or 7.1.x once a fix is released)
- 1. Identify the currently running kernel version using `uname -r`
- 2. Back up critical data and configuration files before performing kernel upgrade
- 3. Update package repository metadata: `sudo apt-get update` (Debian/Ubuntu) or `sudo yum/dnf check-update` (RHEL/Fedora)
- 4. Install the fixed kernel version appropriate for your distribution: For Ubuntu/Debian, use `sudo apt-get install linux-image-<version>`; for RHEL/Fedora, use `sudo dnf install kernel-<version>`
- 5. If the fixed version is not available in your distribution's repositories, obtain the upstream kernel source from https://www.kernel.org/ and compile version 6.12.88, 6.12.89, 6.18.30, 6.18.31, 7.0.7, or 7.0.8
- 6. Update bootloader configuration (GRUB) to ensure the new kernel is selected at boot: `sudo update-grub` or `sudo grub2-mkconfig -o /boot/grub2/grub.cfg`
- 7. Reboot the system into the new kernel: `sudo reboot`
- 8. After reboot, verify the running kernel is now >= 6.12.88, >= 6.18.30, or >= 7.0.7 using `uname -r`
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,808.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-46135 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-46135 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data