PT-2026-163239
CVE-2026-139198
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 3.1
7.0
HighMetricsAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
ceph: wait for pending fscache write in write folio nounlock()
write folio nounlock() marks the folio with PG private 2 via
ceph set page fscache() and starts an async write to the cache via
ceph fscache write to cache(). PG private 2 is only cleared once that
write completes.
If the OSD write fails, the error paths return without waiting for the
cache write. On retry, ceph find incompatible() would wait for
writeback, but not for PG private 2, before calling
write folio nounlock() again, which would trip the VM BUG ON FOLIO() in
folio start private 2().
Wait for any pending cache write before starting writeback on the
folio. Do so before bumping the writeback congestion count and
allocating the possibly mempool-backed OSD request, so that a thread
sleeping on the cache I/O does not hold either while it waits.
Add ceph folio wait fscache(), a wrapper for folio wait private 2(), and
use it.
Found an issue in the description? Have something to add? Feel free to write us 👾