{"id":"CVE-2026-143288","state":"PUBLISHED","title":"nvme-loop: delete the controller if a reset fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-loop: delete the controller if a reset fails\n\nIf the reconnect of a reset fails, nvme_loop_reset_ctrl_work() tears the\ncontroller down by hand with nvme_uninit_ctrl(). Since that was split\nfrom nvme_stop_ctrl() it no longer removes the namespaces, which hold\nreferences to the controller. A reset while the target no longer accepts\nthe host (allow_any_host 0) is enough to get there: a sysfs reset hangs\nin kernfs_drain(), an ioctl reset leaves a controller stuck in\nCONNECTING with its block devices, the cntlid can't be reused, and\nmodule unload deletes the controller a second time and hits a\nuse-after-free.\n\nDo what the other fabrics drivers do and call nvme_delete_ctrl(). The\ndelete path quiesces the admin queue and only unquiesces it if the queue\nis live, which it isn't after a failed reset, so unquiesce it\nunconditionally before destroying it so a stuck request can't block the\nfreeze.","publishedAt":"2026-12-03T09:21:24.241Z","updatedAt":"2026-12-03T09:21:24.241Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d09f2b45f346f0a9e5e1b5fcea531b1b393671dc","status":"affected","lessThan":"632b266fed6f3075aeb3d12758aaac6e89dcafa1","versionType":"git"},{"version":"d09f2b45f346f0a9e5e1b5fcea531b1b393671dc","status":"affected","lessThan":"5a58596dddf0872e66646c0f8be95f0e6ea283a9","versionType":"git"},{"version":"d09f2b45f346f0a9e5e1b5fcea531b1b393671dc","status":"affected","lessThan":"bc2170d365861d29dce20f982093873baad09804","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/loop.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/loop.c"]}],"references":["https://git.kernel.org/stable/c/632b266fed6f3075aeb3d12758aaac6e89dcafa1","https://git.kernel.org/stable/c/5a58596dddf0872e66646c0f8be95f0e6ea283a9","https://git.kernel.org/stable/c/bc2170d365861d29dce20f982093873baad09804"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143288.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143288","state":"PUBLISHED","datePublished":"2026-12-03T09:21:24.241Z","dateUpdated":"2026-12-03T09:21:24.241Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.364Z"},"containers":{"cna":{"title":"nvme-loop: delete the controller if a reset fails","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-loop: delete the controller if a reset fails\n\nIf the reconnect of a reset fails, nvme_loop_reset_ctrl_work() tears the\ncontroller down by hand with nvme_uninit_ctrl(). Since that was split\nfrom nvme_stop_ctrl() it no longer removes the namespaces, which hold\nreferences to the controller. A reset while the target no longer accepts\nthe host (allow_any_host 0) is enough to get there: a sysfs reset hangs\nin kernfs_drain(), an ioctl reset leaves a controller stuck in\nCONNECTING with its block devices, the cntlid can't be reused, and\nmodule unload deletes the controller a second time and hits a\nuse-after-free.\n\nDo what the other fabrics drivers do and call nvme_delete_ctrl(). The\ndelete path quiesces the admin queue and only unquiesces it if the queue\nis live, which it isn't after a failed reset, so unquiesce it\nunconditionally before destroying it so a stuck request can't block the\nfreeze."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d09f2b45f346f0a9e5e1b5fcea531b1b393671dc","status":"affected","lessThan":"632b266fed6f3075aeb3d12758aaac6e89dcafa1","versionType":"git"},{"version":"d09f2b45f346f0a9e5e1b5fcea531b1b393671dc","status":"affected","lessThan":"5a58596dddf0872e66646c0f8be95f0e6ea283a9","versionType":"git"},{"version":"d09f2b45f346f0a9e5e1b5fcea531b1b393671dc","status":"affected","lessThan":"bc2170d365861d29dce20f982093873baad09804","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/loop.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/loop.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/632b266fed6f3075aeb3d12758aaac6e89dcafa1"},{"url":"https://git.kernel.org/stable/c/5a58596dddf0872e66646c0f8be95f0e6ea283a9"},{"url":"https://git.kernel.org/stable/c/bc2170d365861d29dce20f982093873baad09804"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:24.241Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}