{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99851","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.438Z","datePublished":"2026-11-30T13:17:39.169Z","dateUpdated":"2026-11-30T13:17:39.169Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:17:39.169Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: Free the old negotiation state when restarting authentication\n\nRestarting a DH-HMAC-CHAP negotiation with SEND(NEGOTIATE) resets\nsq->dhchap_step but does not release the previous c1/c2/skey, which\nare only freed in nvmet_auth_sq_free() at teardown.  The next\nCHALLENGE/REPLY exchange then overwrites those pointers with fresh\nallocations.\n\nAn unauthenticated host can repeat the negotiate message endlessly,\nleaking a few dozen bytes per round and slowly exhausting target\nmemory.\n\nClear the old negotiation state with nvmet_auth_sq_free() before\nsetting up the new one.  Also reset dhchap_skey_len to zero: if a DH\nsession key was already established, a following round with dhvlen=0\nwould otherwise pass a NULL skey with a stale non-zero length to the\nHMAC code and dereference it."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/auth.c","drivers/nvme/target/fabrics-cmd-auth.c"],"versions":[{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"337c724fb61e438c64b00d71839692db6383a693","status":"affected","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"bfac75f0339b74c43b4a5d3811450b3a40a42dc1","status":"affected","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"8a264652e015a8ed96e666ab8d8cf21a0c71b3f5","status":"affected","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"1890437496271781a9d4ab1ba2ba9bbe4cc7c073","status":"affected","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"21a812abcc98ea8f68e22768577dd76ee63d4354","status":"affected","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"5c279fcabb0ea7ba61881c13027b15d8054b8abd","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/auth.c","drivers/nvme/target/fabrics-cmd-auth.c"],"versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/337c724fb61e438c64b00d71839692db6383a693"},{"url":"https://git.kernel.org/stable/c/bfac75f0339b74c43b4a5d3811450b3a40a42dc1"},{"url":"https://git.kernel.org/stable/c/8a264652e015a8ed96e666ab8d8cf21a0c71b3f5"},{"url":"https://git.kernel.org/stable/c/1890437496271781a9d4ab1ba2ba9bbe4cc7c073"},{"url":"https://git.kernel.org/stable/c/21a812abcc98ea8f68e22768577dd76ee63d4354"},{"url":"https://git.kernel.org/stable/c/5c279fcabb0ea7ba61881c13027b15d8054b8abd"}],"title":"nvmet: Free the old negotiation state when restarting authentication","x_generator":{"engine":"bippy-1.2.0"}}}}