AZL-118502: CVE-2026-143288 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
nvme-loop: delete the controller if a reset fails
If the reconnect of a reset fails, nvmeloopresetctrlwork() tears the controller down by hand with nvmeuninitctrl(). Since that was split from nvmestopctrl() it no longer removes the namespaces, which hold references to the controller. A reset while the target no longer accepts the host (allowanyhost 0) is enough to get there: a sysfs reset hangs in kernfsdrain(), an ioctl reset leaves a controller stuck in CONNECTING with its block devices, the cntlid can't be reused, and module unload deletes the controller a second time and hits a use-after-free.
Do what the other fabrics drivers do and call nvmedeletectrl(). The delete path quiesces the admin queue and only unquiesces it if the queue is live, which it isn't after a failed reset, so unquiesce it unconditionally before destroying it so a stuck request can't block the freeze.
Affected Software
Event History
Frequently Asked Questions
What conditions are needed to trigger the failure?
The system must use the nvme-loop driver and experience a controller reset whose reconnect fails. One described trigger is resetting while the target no longer accepts the host because allow_any_host is disabled.
What operational symptoms can indicate that a system is affected?
A reset initiated through sysfs can hang in kernfs_drain(). A reset through an ioctl can leave the controller stuck in CONNECTING while its block devices remain present, and the controller ID cannot be reused.
What is the risk if the nvme-loop module is unloaded after the failed reset?
Module unload can attempt to delete the controller a second time and trigger a use-after-free. The underlying issue is that namespaces retain references to a controller that was manually torn down after the failed reset.