Linux
nvmet-auth: Synchronize timeout work during SQ teardown
In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: Synchronize timeout work during SQ teardown nvmet_auth_sq_free() cancels auth_expired_work with cancel_delayed_work(). If the work has already started, cancellation does not wait for the callback. Transport teardown can consequently free or reuse the queue containing struct nvmet_sq while nvmet_auth_expired_work() still accesses that SQ. Add a teardown-specific helper that synchronously drains the delayed work before freeing authentication state, and use it from nvmet_sq_destroy(). Keep the non-synchronous helper for in-band authentication state cleanup, where the SQ owner remains alive.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1a70200f404ae210b4f0334e3936e84f8edb6bc8, < 664022fa1c93f4eba09ef5ee02411b9709dd7a93
- >= 1a70200f404ae210b4f0334e3936e84f8edb6bc8, < c3c126a6142a1335bc8c34a5607c39cf01daf295
- >= 1a70200f404ae210b4f0334e3936e84f8edb6bc8, < c17c87bde6d6f5252a6a6f0a94b2430164aa28d5
- >= 1a70200f404ae210b4f0334e3936e84f8edb6bc8, < 7555ddd60af72df2862dd8f9b730a9848577edda
- >= 1a70200f404ae210b4f0334e3936e84f8edb6bc8, < eb4f9127a2b8a152743f1ee597627e2f69cb54fe
- >= 1a70200f404ae210b4f0334e3936e84f8edb6bc8, < eaa948c0e19b1bb2d93262207bca0c3d19cc3406
Fixed in 664022fa1c93f4eba09ef5ee02411b9709dd7a93, c3c126a6142a1335bc8c34a5607c39cf01daf295, c17c87bde6d6f5252a6a6f0a94b2430164aa28d5, 7555ddd60af72df2862dd8f9b730a9848577edda, eb4f9127a2b8a152743f1ee597627e2f69cb54fe, eaa948c0e19b1bb2d93262207bca0c3d19cc3406
- 6.0
Fixed in 0, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5, 7.3
Mitigation
Upgrade Linux to 664022fa1c93f4eba09ef5ee02411b9709dd7a93 or c3c126a6142a1335bc8c34a5607c39cf01daf295 or c17c87bde6d6f5252a6a6f0a94b2430164aa28d5 or 7555ddd60af72df2862dd8f9b730a9848577edda or eb4f9127a2b8a152743f1ee597627e2f69cb54fe or eaa948c0e19b1bb2d93262207bca0c3d19cc3406 or later.
Upgrade Linux to 0 or 6.1.188 or 6.6.157 or 6.12.110 or 6.18.51 or 7.2.5 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.