9.8critical
nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.55% (higher than 40% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path In nvmet_tcp_try_recv_ddgst(), when a data digest mismatch is detected, nvmet_req_uninit() is called unconditionally. However, if the command arrived via the nvmet_tcp_handle_req_failure() path, nvmet_req_init() had returned false and percpu_ref_tryget_live() was never executed. The unconditional percpu_ref_put() inside nvmet_req_uninit() then causes a refcount underflow, leading to a WARNING in percpu_ref_switch_to_atomic_rcu, a use-after-free diagnostic, and eventually a permanent workqueue deadlock. Check cmd->flags & NVMET_TCP_F_INIT_FAILED before calling nvmet_req_uninit(), matching the existing pattern in nvmet_tcp_execute_request().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 91edfca6f8b364d60cde3ddefaf7d03ddf35774b before 22ec7a9fe9153d2737ee9b2fa6d2e43a1491decf, from fda871c0ba5d2eed2cd1c881573168129da70058 before ba35b1c674ca3841c0dfadd698f2c1b3ec542d4e, from fda871c0ba5d2eed2cd1c881573168129da70058 before c7874dad84b20433c0fe3919f291a762d40de08b, from fda871c0ba5d2eed2cd1c881573168129da70058 before e602c93b25bda4a9d0ff1791a4bdbfdcbb074af1, from fda871c0ba5d2eed2cd1c881573168129da70058 before d306da8833e75f669d93424fd84940236f3850bc, from fda871c0ba5d2eed2cd1c881573168129da70058 before 2ed3c9d955e8cd6361f130623baa664a75fb345f, from fda871c0ba5d2eed2cd1c881573168129da70058 before 4606467a75cfc16721937272ed29462a750b60c8, 4b17476d809273617d3317fa0d4ae78aa488d760 and 3 more Not affected: before 5.12, from 5.10.261 up to 5.10.*, from 5.15.212 up to 5.15.*, from 6.1.178 up to 6.1.*, from 6.6.145 up to 6.6.*, from 6.12.97 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.10.20 before 5.10.261, from 5.11.3 before 5.15.212, from 5.16 before 6.1.178, from 6.2 before 6.6.145, from 6.7 before 6.12.97, from 6.13 before 6.18.40, from 6.19 before 7.1, 7.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-64534 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-64534 changed 2026-11-16 | Public domain |