CVE-2026-99851
JSON

7.5high

nvmet: Free the old negotiation state when restarting authentication

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.83% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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

Product or packageVersionsReported by
Linux Linuxfrom db1312dd95488b5e6ff362ff66fcf953a46b1821 before 337c724fb61e438c64b00d71839692db6383a693, from db1312dd95488b5e6ff362ff66fcf953a46b1821 before bfac75f0339b74c43b4a5d3811450b3a40a42dc1, from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 8a264652e015a8ed96e666ab8d8cf21a0c71b3f5, from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 1890437496271781a9d4ab1ba2ba9bbe4cc7c073, from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 21a812abcc98ea8f68e22768577dd76ee63d4354, from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 5c279fcabb0ea7ba61881c13027b15d8054b8abd, 6.0
Not affected: before 6.0, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99851 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-99851 changed 2026-12-01Public domain