PT-2026-163017
CVE-2026-138976
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
fuse: don't drop destination page cache on a zero byte copy reply
fuse copy file range() clears the destination page cache after the
server replies:
truncate inode pages range(inode out->i mapping,
ALIGN DOWN(pos out, PAGE SIZE),
ALIGN(pos out + bytes copied, PAGE SIZE) - 1);A server may legitimately reply that it copied nothing, eg if the source
file turns out to be shorter than the size the kernel has cached for it.
If pos out is 0 as well, the end of the range is ALIGN(0, PAGE SIZE) - 1,
which is -1. lend is a uoff t and truncate inode pages range() takes -1
as its end of file sentinel, so rather than clearing nothing it drops
every folio in the destination mapping.
That is not only a cache drop. truncate cleanup folio() calls
folio cancel dirty(), and fuse writeback range() only wrote back
[pos out, pos out + len - 1], so dirty data elsewhere in the destination
file is discarded without ever reaching the server.
Skip the call when the server copied nothing, since there is nothing
stale to clear in that case.
Found an issue in the description? Have something to add? Feel free to write us 👾