A use-after-free vulnerability in the Linux kernel's nvmet-auth module related to DH-HMAC-CHAP state handling has been fixed. The flaw occurs when concurrent authentication commands access and free a shared key, leading to writes into freed memory. This issue was detected by KASAN as a slab-use-after-free error. The fix involves adding mutexes to serialize access to authentication commands and limiting timeout delays to prevent immediate expiry on 32-bit kernels.