CVE-2026-139617: fuse: zero the correct range on a short read reply
In the Linux kernel, the following vulnerability has been resolved:
fuse: zero the correct range on a short read reply
When a read reply is shorter than the requested range, fusecopyfolio() zeroes everything in the folio outside the copied bytes. However, for folios with block sizes smaller than the folio size, this can clear blocks outside the requested range which are uptodate, or dirty and have not yet been written back.
Move the zeroing logic into fusecopyfolios(), since descs[i].length needs to be used, and clear only the tail of the requested range that the server did not send.
The range is also no longer cleared upfront in the non cs->skipfoliocopy case. This is fine since a failed copy leaves those blocks non-uptodate, so the uncopied bytes are never visible. This also matches the pre-existing behavior in the non-short-read case (a failed copy doesn't zero out the range in the folio). This lets the zeroing logic stay the same regardless of whether the folio copy is skipped or not.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
The issue affects Linux systems using FUSE where folio block sizes are smaller than the folio size. It is triggered when a FUSE read reply is shorter than the range requested.
What can happen when the condition is triggered?
The previous behavior can clear data outside the requested read range. This may affect blocks that are already up to date or dirty blocks that have not yet been written back.