PT-2026-163018

CVE-2026-138977

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
fuse: don't shorten the folio descriptor at LLONG MAX
fuse send readpages() and fuse do readfolio() both decrement the folio descriptor length when handling the overflow case where a read would exceed LLONG MAX after incrementing the file position by the number of bytes that need to be read in.
Shortening it is unnecessary (and for the virtio-fs paths, a bug), and with fuse using iomap for handling reads, shortening it is buggy.
For fuse send readpages(), ap->descs[] is also what fuse readpages end() reports back to iomap finish folio read(). iomap accounted the full length when the range was submitted, so the lengths reported on completion have to add up to what was submitted. Reporting one byte less leaves ifs->read bytes pending nonzero, folio end read() is never called, and the folio stays locked.
This is currently reachable on fuseblk mounts configured with block sizes smaller than the page size.
Fix this by leaving the descriptor length untouched. The reply will then be one byte shorter than what the descriptor lengths add up to, and the last byte will be zeroed in fuse copy folios().
This also fixes a bug in virtio-fs that existed before any iomap changes were added to fuse. For virtio-fs, data there arrives by DMA rather than through fuse copy folios(), so the only zeroing is in virtio fs request complete(), which compares the reply size against the descriptor length. With the descriptor length shortened, the two are equal and nothing gets zeroed, which means the unrequested byte is left holding whatever was in the folio, when the folio is marked uptodate. This is both in the fuse do readfolio() and fuse send readpages() paths. This dates back to commit 2f1398291bf3 ("fuse: don't overflow LLONG MAX with end offset").
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾