CVE
CVE-2026-46304
CNA description
In the Linux kernel, the following vulnerability has been resolved: nvmet: avoid recursive nvmet-wq flush in nvmet_ctrl_free nvmet_tcp_release_queue_work() runs on nvmet-wq and can drop the final controller reference through nvmet_cq_put(). If that triggers nvmet_ctrl_free(), the teardown path flushes ctrl->async_event_work on the same nvmet-wq. Call chain: nvmet_tcp_schedule_release_queue() kref_put(&queue->kref, nvmet_tcp_release_queue) nvmet_tcp_release_queue() queue_work(nvmet_wq, &queue->release_work) <--- nvmet_wq process_one_work() nvmet_tcp_release_queue_work() nvmet_cq_put(&queue->nvme_cq) nvmet_cq_destroy() nvmet_ctrl_put(cq->ctrl) nvmet_ctrl_free() flush_work(&ctrl->async_event_work) <--- nvmet_wq Previously Scheduled by :- nvmet_add_async_event queue_work(nvmet_wq, &ctrl->async_event_work); This trips lockdep with a possible recursive locking warning. [ 5223.015876] run blktests nvme/003 at 2026-04-07 20:53:55 [ 5223.061801] loop0: detected capacity change from 0 to 2097152 [ 5223.072206] nvmet: adding nsid 1 to subsystem blktests-subsystem-1 [ 5223.088368] nvmet_tcp: enabling port 0 (127.0.0.1:4420) [ 5223.126086] nvmet: Created discovery controller 1 for subsystem nqn.2014-08.org.nvmexpress.discovery for NQN nqn.2014-08.org.nvmexpress:uuid:0f01fb42-9f7f-4856-b0b3-51e60b8de349. [ 5223.128453] nvme nvme1: new ctrl: NQN "nqn.2014-08.org.nvmexpress.discovery", addr 127.0.0.1:4420, hostnqn: nqn.2014-08.org.nvmexpress:uuid:0f01fb42-9f7f-4856-b0b3-51e60b8de349 [ 5233.199447] nvme nvme1: Removing ctrl: NQN "nqn.2014-08.org.nvmexpress.discovery" [ 5233.227718] ============================================ [ 5233.231283] WARNING: possible recursive locking detected [ 5233.234696] 7.0.0-rc3nvme+ #20 Tainted: G O N [ 5233.238434] -------------------------------------------- […
Affected versions
All Linux kernel vulnerabilities →
- 7.1-rc1This version only
- ≥ 6.19, < 7.0.7Fixed in 7.0.7
- ≥ 6.13, < 6.18.30Fixed in 6.18.30
- ≥ 6.7, < 6.12.88Fixed in 6.12.88
- ≥ 6.2, < 6.6.140Fixed in 6.6.140
- ≥ 5.16, < 6.1.175Fixed in 6.1.175
- ≥ 5.11, < 5.15.209Fixed in 5.15.209
- ≥ 4.10.1, < 5.10.258Fixed in 5.10.258
- 4.10This version only
- 4.10-rc8This version only
- 4.10-rc7This version only
- 4.10-rc6This version only
- ≥ 4.9.68, < 4.10Fixed in 4.10
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/551f445a56a11a6457550cddcf39c9ebb8bcacc6 · Patch
- git.kernel.org/stable/c/781f47d641432c26c19625b2cdd7f40825097592 · Patch
- git.kernel.org/stable/c/8d66ba89480ff098a58d79003a505f383aa4e920 · Patch
- git.kernel.org/stable/c/9a4d7222c0955b221e38bb66d10e6bccb672c8a1 · Patch
- git.kernel.org/stable/c/a696fbbd5240b4ac9b166f7bd4c550882ff543f1 · Patch
- git.kernel.org/stable/c/aade8abd8b868b6ffa9697aadaea28ec7f65bee6 · Patch
- git.kernel.org/stable/c/ae5b0cad163833e10b271e9becc05d81dae56e5f · Patch
- git.kernel.org/stable/c/ee6e20c4bc9eae542a0954a368449532383169d4 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.