{"id":"CVE-2026-99851","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:18.520","lastModified":"2026-12-01T06:17:53.170","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/nvme/target/auth.c","drivers/nvme/target/fabrics-cmd-auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"337c724fb61e438c64b00d71839692db6383a693","versionType":"git","status":"affected"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"bfac75f0339b74c43b4a5d3811450b3a40a42dc1","versionType":"git","status":"affected"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"8a264652e015a8ed96e666ab8d8cf21a0c71b3f5","versionType":"git","status":"affected"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"1890437496271781a9d4ab1ba2ba9bbe4cc7c073","versionType":"git","status":"affected"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"21a812abcc98ea8f68e22768577dd76ee63d4354","versionType":"git","status":"affected"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","lessThan":"5c279fcabb0ea7ba61881c13027b15d8054b8abd","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/nvme/target/auth.c","drivers/nvme/target/fabrics-cmd-auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"references":[{"url":"https://git.kernel.org/stable/c/1890437496271781a9d4ab1ba2ba9bbe4cc7c073","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/21a812abcc98ea8f68e22768577dd76ee63d4354","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/337c724fb61e438c64b00d71839692db6383a693","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5c279fcabb0ea7ba61881c13027b15d8054b8abd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8a264652e015a8ed96e666ab8d8cf21a0c71b3f5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bfac75f0339b74c43b4a5d3811450b3a40a42dc1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}