CVE-2026-139199

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-13924.3The SR WP Minify HTML plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.1. This is duCVE-2026-139209.6Insufficient validation of untrusted input in Media in Google Chrome on Windows prior to 150.0.7871.47 allowed a remote attacker who had comCVE-2026-139200In the Linux kernel, the following vulnerability has been resolved: ceph: fix page vector leak on encrypted netfs read EIO path ceph_netfsCVE-2026-139201In the Linux kernel, the following vulnerability has been resolved: netlink: fix out-of-bounds bitmap access clearing stale mc groups netlCVE-2026-139202In the Linux kernel, the following vulnerability has been resolved: bpf: Validate stack arg reads against caller state check_stack_arg_reaCVE-2026-139203In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: Drain sequencer callbacks before freeing their client seq_uCVE-2026-139204In the Linux kernel, the following vulnerability has been resolved: bpf: Track borrowed iterator results by default An open-coded iteratorCVE-2026-139205In the Linux kernel, the following vulnerability has been resolved: bpf: Propagate btf_add_type() errors in btf_check_all_metas() btf_checCVE-2026-1392067.1In the Linux kernel, the following vulnerability has been resolved: net/sched: etf: initialise the sock_exterr_skb before filling it reporCVE-2026-139207In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys mlx5eCVE-2026-139208In the Linux kernel, the following vulnerability has been resolved: net: sparx5: fix tx DCB index drift in fdma xmit sparx5_fdma_xmit() adCVE-2026-139209In the Linux kernel, the following vulnerability has been resolved: net: sparx5/lan969x: do not read past skb->len when injecting a frame
CVE-2026-139199: Unscored | Vulnix