Not scored
fuse: zero the correct range on a short read reply
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a4c9ab1d4975746c14b34c7bb908869245a9dd4f before 9797c6738718dadcf3d0fe8b303182add22a9ccc, from a4c9ab1d4975746c14b34c7bb908869245a9dd4f before 9d9ccc96361973dd63a45069cb2b880b6c22132c, from a4c9ab1d4975746c14b34c7bb908869245a9dd4f before d0a079b5b94bf5e10f1c00bd092eda0333782037, 6.17 Not affected: before 6.17, from 6.18.66 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139617 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139617 changed 2026-11-30 | Public domain |