In the Linux kernel, the following vulnerability has been resolved: nvmet: Free the old negotiation state when restarting authentication Restarting a DH-HMAC-CHAP negotiation with SEND(NEGOTIATE) resets sq->dhchap_step but does not release the previous c1/c2/skey, which are only freed in nvmet_auth_sq_free() at teardown. The next CHALLENGE/REPLY exchange then overwrites those pointers with fresh allocations. An unauthenticated host can repeat the negotiate message endlessly, leaking a few dozen bytes per round and slowly exhausting target memory. Clear the old negotiation state with nvmet_auth_sq_free() before setting up the new one. Also reset dhchap_skey_len to zero: if a DH session key was already established, a following round with dhvlen=0 would otherwise pass a NULL skey with a stale non-zero length to the HMAC code and dereference it.
https://git.kernel.org/stable/c/bfac75f0339b74c43b4a5d3811450b3a40a42dc1
https://git.kernel.org/stable/c/8a264652e015a8ed96e666ab8d8cf21a0c71b3f5
https://git.kernel.org/stable/c/5c279fcabb0ea7ba61881c13027b15d8054b8abd
https://git.kernel.org/stable/c/337c724fb61e438c64b00d71839692db6383a693
https://git.kernel.org/stable/c/21a812abcc98ea8f68e22768577dd76ee63d4354
https://git.kernel.org/stable/c/1890437496271781a9d4ab1ba2ba9bbe4cc7c073