Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.5CVE-2026-99851

nvmet: Free the old negotiation state when restarting authentication

Published 30/11/2026 · Updated 01/12/2026 · Linux

Description

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.

Affected products and versions

Linux Linuxdb1312dd95488b5e6ff362ff66fcf953a46b1821 – < 337c724fb61e438c64b00d71839692db6383a693 · db1312dd95488b5e6ff362ff66fcf953a46b1821 – < bfac75f0339b74c43b4a5d3811450b3a40a42dc1 · db1312dd95488b5e6ff362ff66fcf953a46b1821 – < 8a264652e015a8ed96e666ab8d8cf21a0c71b3f5 · db1312dd95488b5e6ff362ff66fcf953a46b1821 – < 1890437496271781a9d4ab1ba2ba9bbe4cc7c073 · db1312dd95488b5e6ff362ff66fcf953a46b1821 – < 21a812abcc98ea8f68e22768577dd76ee63d4354 · db1312dd95488b5e6ff362ff66fcf953a46b1821 – < 5c279fcabb0ea7ba61881c13027b15d8054b8abdFixed in: 337c724fb61e438c64b00d71839692db6383a693 · bfac75f0339b74c43b4a5d3811450b3a40a42dc1 · 8a264652e015a8ed96e666ab8d8cf21a0c71b3f5 · 1890437496271781a9d4ab1ba2ba9bbe4cc7c073 · 21a812abcc98ea8f68e22768577dd76ee63d4354 · 5c279fcabb0ea7ba61881c13027b15d8054b8abd
Linux Linux6.0Fixed in: 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
None
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.