Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139617

fuse: zero the correct range on a short read reply

Description

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, fuse_copy_folio() 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 fuse_copy_folios(), 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->skip_folio_copy 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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a4c9ab1d4975746c14b34c7bb908869245a9dd4f to < 9797c6738718dadcf3d0fe8b303182add22a9cccaffected
  • a4c9ab1d4975746c14b34c7bb908869245a9dd4f to < 9d9ccc96361973dd63a45069cb2b880b6c22132caffected
  • a4c9ab1d4975746c14b34c7bb908869245a9dd4f to < d0a079b5b94bf5e10f1c00bd092eda0333782037affected

Linux Linux

Default version status: affected

  • 6.17affected
  • 0 to < 6.17unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References