CVE-2026-99857
nvmet-fc: only send read data for successful commands
Check your servers for CVE-2026-99857
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-99857 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-fc: only send read data for successful commands
When a read command completes with an error, __nvmet_fc_fcp_nvme_cmd_done() still pushes the whole data buffer to the host before the response. nvmet_fc_alloc_tgt_pgs() allocates that buffer with sgl_alloc() and no __GFP_ZERO, and a command rejected by nvmet_check_transfer_len() leaves it untouched, so the host receives stale target memory.
The buffer is as large as the data length in the command IU, so the amount of stale memory returned is up to the host.
The tcp and rdma targets send data only when cqe->status is zero (see nvmet_tcp_need_data_out() and nvmet_rdma_need_data_out()), so no nvmet command can rely on returning data with an error status. Do the same for fc. The ERSP then reports a transferred length of fod->offset, which is 0, matching what nvme_fc_fcpio_done() checks on the host.
Tested over nvme-fcloop: a failed read command no longer transfers data and still completes with its error status, and successful reads are unaffected.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before 275ed9e20d551762ebd945decc87128ac9e63d9d affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before 0d5c5a234c7ab987d6b610dc4ec50b3234b3e479 affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before 9425c1c7a5a24a68096a8c19f4159d52402866f7 affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before d4b53489bcb74ceec8285aa831aced8dc777d3db affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before e39568fd4d9cd33cfd55deca89272f9a6506a26d affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before 224aa110632eaccdafa62e106fbeb81420c0d84e affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before c32b169fb13c22a8723db2467a54b6c0079fd84b affected from c53432030d86429dc9fe5adc3d68cb9d1343b0b2, before 94f93c61b1a5dd08d011be58172ce4392b849008
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* 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-99857 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99857
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-99857
trivy image --scanners vuln IMAGE | grep CVE-2026-99857
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/275ed9e20d551762ebd945decc87128ac9e63d9d git.kernel.org
- https://git.kernel.org/stable/c/0d5c5a234c7ab987d6b610dc4ec50b3234b3e479 git.kernel.org
- https://git.kernel.org/stable/c/9425c1c7a5a24a68096a8c19f4159d52402866f7 git.kernel.org
- https://git.kernel.org/stable/c/d4b53489bcb74ceec8285aa831aced8dc777d3db git.kernel.org
- https://git.kernel.org/stable/c/e39568fd4d9cd33cfd55deca89272f9a6506a26d git.kernel.org
- https://git.kernel.org/stable/c/224aa110632eaccdafa62e106fbeb81420c0d84e git.kernel.org
- https://git.kernel.org/stable/c/c32b169fb13c22a8723db2467a54b6c0079fd84b git.kernel.org
- https://git.kernel.org/stable/c/94f93c61b1a5dd08d011be58172ce4392b849008 git.kernel.org
Source: the record CVE-2026-99857 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