CVE-2026-99857
publishednvmet-fc: only send read data for successful commands
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 275ed9e20d551762ebd945decc87128ac9e63d9d · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 0d5c5a234c7ab987d6b610dc4ec50b3234b3e479 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 9425c1c7a5a24a68096a8c19f4159d52402866f7 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < d4b53489bcb74ceec8285aa831aced8dc777d3db · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < e39568fd4d9cd33cfd55deca89272f9a6506a26d · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 224aa110632eaccdafa62e106fbeb81420c0d84e · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < c32b169fb13c22a8723db2467a54b6c0079fd84b · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 94f93c61b1a5dd08d011be58172ce4392b849008 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.10 (affected) · 0 to < 4.10 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 275ed9e20d551762ebd945decc87128ac9e63d9d (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 0d5c5a234c7ab987d6b610dc4ec50b3234b3e479 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 9425c1c7a5a24a68096a8c19f4159d52402866f7 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < d4b53489bcb74ceec8285aa831aced8dc777d3db (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < e39568fd4d9cd33cfd55deca89272f9a6506a26d (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 224aa110632eaccdafa62e106fbeb81420c0d84e (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < c32b169fb13c22a8723db2467a54b6c0079fd84b (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 94f93c61b1a5dd08d011be58172ce4392b849008 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.10 (affected)0 to < 4.10 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0d5c5a234c7ab987d6b610dc4ec50b3234b3e479
- https://git.kernel.org/stable/c/224aa110632eaccdafa62e106fbeb81420c0d84e
- https://git.kernel.org/stable/c/275ed9e20d551762ebd945decc87128ac9e63d9d
- https://git.kernel.org/stable/c/9425c1c7a5a24a68096a8c19f4159d52402866f7
- https://git.kernel.org/stable/c/94f93c61b1a5dd08d011be58172ce4392b849008
- https://git.kernel.org/stable/c/c32b169fb13c22a8723db2467a54b6c0079fd84b
- https://git.kernel.org/stable/c/d4b53489bcb74ceec8285aa831aced8dc777d3db
- https://git.kernel.org/stable/c/e39568fd4d9cd33cfd55deca89272f9a6506a26d
Provider assertions
1Linux · cna
nvmet-fc: only send read data for successful commands
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 85c36fe8f03e9e7706789a02e9da8923474e5b4ac586da794a15a619bfd3f80f
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record