CVE-2026-99851
nvmet: Free the old negotiation state when restarting authentication
Check your servers for CVE-2026-99851
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99851 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.83%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 58.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from db1312dd95488b5e6ff362ff66fcf953a46b1821, before 337c724fb61e438c64b00d71839692db6383a693 affected from db1312dd95488b5e6ff362ff66fcf953a46b1821, before bfac75f0339b74c43b4a5d3811450b3a40a42dc1 affected from db1312dd95488b5e6ff362ff66fcf953a46b1821, before 8a264652e015a8ed96e666ab8d8cf21a0c71b3f5 affected from db1312dd95488b5e6ff362ff66fcf953a46b1821, before 1890437496271781a9d4ab1ba2ba9bbe4cc7c073 affected from db1312dd95488b5e6ff362ff66fcf953a46b1821, before 21a812abcc98ea8f68e22768577dd76ee63d4354 affected from db1312dd95488b5e6ff362ff66fcf953a46b1821, before 5c279fcabb0ea7ba61881c13027b15d8054b8abd
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99851 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99851
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99851
trivy image --scanners vuln IMAGE | grep CVE-2026-99851
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/337c724fb61e438c64b00d71839692db6383a693 git.kernel.org
- https://git.kernel.org/stable/c/bfac75f0339b74c43b4a5d3811450b3a40a42dc1 git.kernel.org
- https://git.kernel.org/stable/c/8a264652e015a8ed96e666ab8d8cf21a0c71b3f5 git.kernel.org
- https://git.kernel.org/stable/c/1890437496271781a9d4ab1ba2ba9bbe4cc7c073 git.kernel.org
- https://git.kernel.org/stable/c/21a812abcc98ea8f68e22768577dd76ee63d4354 git.kernel.org
- https://git.kernel.org/stable/c/5c279fcabb0ea7ba61881c13027b15d8054b8abd git.kernel.org
Source: the record CVE-2026-99851 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse