nvmet-auth: Synchronize timeout work during SQ teardown
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The Linux kernel's NVMe target authentication code (nvmet-auth) is affected. A race during submission queue teardown can let a delayed timeout callback access queue memory that has already been freed or reused, which can lead to a crash or memory corruption.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1a70200f404ae210b4f0334e3936e84f8edb6bc8 · fixed in 664022fa1c93f4eba09ef5ee02411b9709dd7a93; From 1a70200f404ae210b4f0334e3936e84f8edb6bc8 · fixed in c3c126a6142a1335bc8c34a5607c39cf01daf295; From 1a70200f404ae210b4f0334e3936e84f8edb6bc8 · fixed in c17c87bde6d6f5252a6a6f0a94b2430164aa28d5; From 1a70200f404ae210b4f0334e3936e84f8edb6bc8 · fixed in 7555ddd60af72df2862dd8f9b730a9848577edda; From 1a70200f404ae210b4f0334e3936e84f8edb6bc8 · fixed in eb4f9127a2b8a152743f1ee597627e2f69cb54fe; From 1a70200f404ae210b4f0334e3936e84f8edb6bc8 · fixed in eaa948c0e19b1bb2d93262207bca0c3d19cc3406
- Linux Linux
6.0
- KernelLinux
From 6.0.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5