fuse: zero the correct range on a short read reply
Summary
| CVE | CVE-2026-139617 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:44 UTC |
| Updated | 2026-11-30 14:19:44 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected a4c9ab1d4975746c14b34c7bb908869245a9dd4f 9797c6738718dadcf3d0fe8b303182add22a9ccc git |
Not specified |
| CNA |
Linux |
Linux |
affected a4c9ab1d4975746c14b34c7bb908869245a9dd4f 9d9ccc96361973dd63a45069cb2b880b6c22132c git |
Not specified |
| CNA |
Linux |
Linux |
affected a4c9ab1d4975746c14b34c7bb908869245a9dd4f d0a079b5b94bf5e10f1c00bd092eda0333782037 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.17 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.17 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.66 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/9d9ccc96361973dd63a45069cb2b880b6c22132c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d0a079b5b94bf5e10f1c00bd092eda0333782037 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9797c6738718dadcf3d0fe8b303182add22a9ccc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.