PT-2026-163240

CVE-2026-139199

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No 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:
ceph: fix error handling when the OSD client is stopping in ceph submit write()
When ceph inc osd stopping blocker() fails, ceph submit write() redirties and unlocks the folios remaining in ceph wbc->fbatch. However, none of those folios are locked at this point: locked folios were moved to ceph wbc->pages[] and removed from the fbatch by ceph process folio batch(). Unlocking them triggers VM BUG ON FOLIO(!folio test locked(folio)) in folio unlock(), or unlocks a folio locked by another task.
This error path also returns -EIO without fully cleaning up the folios in ceph wbc->pages[]: their references are never dropped, fscrypt bounce pages are never freed, the writeback congestion count is never decremented, and the pages array is leaked. ceph wbc->locked pages is also left non-zero, so ceph writepages start() loops back around and hits BUG ON(ceph wbc.locked pages).
Leave the fbatch folios alone, as ceph writepages start() drops their references when releasing the batch, and unwind ceph wbc->pages[] the same way writepages finish() would have. Abort writeback in ceph writepages start() instead of continuing, matching the handling of ceph inc osd stopping blocker() failure on entry, as the OSD client is being torn down and further writeback cannot make progress.
An LLM was used to verify that the cleanup was comprehensive, and suggested aborting the writeback instead of continuing.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾