CVE-2026-99857
Last modified
CVE-2026-99857 is a vulnerability of currently unknown severity. 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.
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 275ed9e20d551762ebd945decc87128ac9e63d9d; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 0d5c5a234c7ab987d6b610dc4ec50b3234b3e479; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 9425c1c7a5a24a68096a8c19f4159d52402866f7; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < d4b53489bcb74ceec8285aa831aced8dc777d3db; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < e39568fd4d9cd33cfd55deca89272f9a6506a26d; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 224aa110632eaccdafa62e106fbeb81420c0d84e; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < c32b169fb13c22a8723db2467a54b6c0079fd84b; >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 94f93c61b1a5dd08d011be58172ce4392b849008 |
| Linux | Linux | 4.10 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99857?
How severe is CVE-2026-99857?
How do I fix CVE-2026-99857?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99851In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-99852In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-99853In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99854In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-99855In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99856In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99858In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-99859In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9986Insufficient validation of untrusted input in OptimizationGu…4.2
- CVE-2026-99860In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99861In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99862In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-99857?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
