nvmet-auth: Synchronize timeout work during SQ teardown
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.8epss 0.8%
exploitation probability
0.8%top 46% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/664022fa1c93f4eba09ef5ee02411b9709dd7a93https://git.kernel.org/stable/c/7555ddd60af72df2862dd8f9b730a9848577eddahttps://git.kernel.org/stable/c/c17c87bde6d6f5252a6a6f0a94b2430164aa28d5https://git.kernel.org/stable/c/c3c126a6142a1335bc8c34a5607c39cf01daf295https://git.kernel.org/stable/c/eaa948c0e19b1bb2d93262207bca0c3d19cc3406https://git.kernel.org/stable/c/eb4f9127a2b8a152743f1ee597627e2f69cb54fe