{"id":"CVE-2026-139617","state":"PUBLISHED","title":"fuse: zero the correct range on a short read reply","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: zero the correct range on a short read reply\n\nWhen a read reply is shorter than the requested range, fuse_copy_folio()\nzeroes everything in the folio outside the copied bytes. However, for\nfolios with block sizes smaller than the folio size, this can clear\nblocks outside the requested range which are uptodate, or dirty and have\nnot yet been written back.\n\nMove the zeroing logic into fuse_copy_folios(), since descs[i].length\nneeds to be used, and clear only the tail of the requested range that\nthe server did not send.\n\nThe range is also no longer cleared upfront in the non\ncs->skip_folio_copy case. This is fine since a failed copy leaves those\nblocks non-uptodate, so the uncopied bytes are never visible. This also\nmatches the pre-existing behavior in the non-short-read case (a failed\ncopy doesn't zero out the range in the folio). This lets the zeroing\nlogic stay the same regardless of whether the folio copy is skipped or\nnot.","publishedAt":"2026-11-30T13:36:24.470Z","updatedAt":"2026-11-30T13:36:24.470Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a4c9ab1d4975746c14b34c7bb908869245a9dd4f","status":"affected","lessThan":"9797c6738718dadcf3d0fe8b303182add22a9ccc","versionType":"git"},{"version":"a4c9ab1d4975746c14b34c7bb908869245a9dd4f","status":"affected","lessThan":"9d9ccc96361973dd63a45069cb2b880b6c22132c","versionType":"git"},{"version":"a4c9ab1d4975746c14b34c7bb908869245a9dd4f","status":"affected","lessThan":"d0a079b5b94bf5e10f1c00bd092eda0333782037","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c","fs/fuse/dev.h","fs/fuse/notify.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c","fs/fuse/dev.h","fs/fuse/notify.c"]}],"references":["https://git.kernel.org/stable/c/9797c6738718dadcf3d0fe8b303182add22a9ccc","https://git.kernel.org/stable/c/9d9ccc96361973dd63a45069cb2b880b6c22132c","https://git.kernel.org/stable/c/d0a079b5b94bf5e10f1c00bd092eda0333782037"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139617.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139617","state":"PUBLISHED","datePublished":"2026-11-30T13:36:24.470Z","dateUpdated":"2026-11-30T13:36:24.470Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.943Z"},"containers":{"cna":{"title":"fuse: zero the correct range on a short read reply","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: zero the correct range on a short read reply\n\nWhen a read reply is shorter than the requested range, fuse_copy_folio()\nzeroes everything in the folio outside the copied bytes. However, for\nfolios with block sizes smaller than the folio size, this can clear\nblocks outside the requested range which are uptodate, or dirty and have\nnot yet been written back.\n\nMove the zeroing logic into fuse_copy_folios(), since descs[i].length\nneeds to be used, and clear only the tail of the requested range that\nthe server did not send.\n\nThe range is also no longer cleared upfront in the non\ncs->skip_folio_copy case. This is fine since a failed copy leaves those\nblocks non-uptodate, so the uncopied bytes are never visible. This also\nmatches the pre-existing behavior in the non-short-read case (a failed\ncopy doesn't zero out the range in the folio). This lets the zeroing\nlogic stay the same regardless of whether the folio copy is skipped or\nnot."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a4c9ab1d4975746c14b34c7bb908869245a9dd4f","status":"affected","lessThan":"9797c6738718dadcf3d0fe8b303182add22a9ccc","versionType":"git"},{"version":"a4c9ab1d4975746c14b34c7bb908869245a9dd4f","status":"affected","lessThan":"9d9ccc96361973dd63a45069cb2b880b6c22132c","versionType":"git"},{"version":"a4c9ab1d4975746c14b34c7bb908869245a9dd4f","status":"affected","lessThan":"d0a079b5b94bf5e10f1c00bd092eda0333782037","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c","fs/fuse/dev.h","fs/fuse/notify.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/dev.c","fs/fuse/dev.h","fs/fuse/notify.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9797c6738718dadcf3d0fe8b303182add22a9ccc"},{"url":"https://git.kernel.org/stable/c/9d9ccc96361973dd63a45069cb2b880b6c22132c"},{"url":"https://git.kernel.org/stable/c/d0a079b5b94bf5e10f1c00bd092eda0333782037"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:36:24.470Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}