PT-2026-162824
CVE-2026-99857
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾